{% extends 'base.html.twig' %}
{% block title %}
- Cercle de Bridge de Reims Champagne
{% if activecategory is defined and isnone == false %}
- {{ activecategory.name }}
{% endif %}
{% endblock %}
{% block content %}
<section class="page_title ds s-overlay s-pt-150 s-pb-50" data-background=""
style="background-image: url({{ asset('assets/images/cbrc/imagefond.jpg') }})">
<div class="s-blur"></div>
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1><i class="far fa-newspaper mr-3"></i>Les Actualités</h1>
{% if activecategory is defined %}
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="{{ path('home', {}, relative = false) }}">
Accueil
</a>
</li>
<li class="breadcrumb-item active">
{% if isnone ==false %}
{{ activecategory.name }}
{% else %}
Aucune
{% endif %}
</li>
</ol>
{% else %}
<h5>
Cercle de Bridge Reims Champagne
</h5>
{% endif %}
</div>
</div>
</div>
</section>
<section class="ls s-py-xl-150 s-py-lg-130 s-py-md-90 s-py-60">
<div class="container">
<div class="row c-gutter-60">
<main class="col-lg-9 col-12 order-lg-2">
{% for article in pagination %}
{{ render(controller('App\\Controller\\ArticleController::ShowListArticleView', {articleid:article.id})) }}
{% endfor %}
{{ knp_pagination_render(pagination) }}
</main>
<aside class="col-lg-3 col-12 order-lg-1">
{% if activecategory is defined %}
{% if isnone ==false %}
{{ render(controller('App\\Controller\\CategoryController:ShowCategoryList', {'activecategoryid':activecategory.id})) }}
{% else %}
{{ render(controller('App\\Controller\\CategoryController:ShowCategoryList', {'activecategoryid':-2})) }}
{% endif %}
{% else %}
{{ render(controller('App\\Controller\\CategoryController:ShowCategoryList', {})) }}
{% endif %}
</aside>
</div>
</div>
</section>
{% endblock %}