templates/front/theme1/hub_actualites.html.twig line 1

Open in your IDE?
  1. {% extends "front/"~ app.request.server.get('APP_THEME') ~"/base.html.twig" %}
    
    {% block stylesheets %}
          {{parent()}}
    {% endblock %}
    
    
    {% block body %}
             <div class="page_cms page_activite pt-5">
                    <div class="breadcrumb-style-default">
                        <div class="container">
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="inner text-center">
                                        {% if breadcrumb is defined and breadcrumb is not empty %}
                                            {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
                                            <h1 class="page-title">{{title_page}}</h1>
                                        {% endif %}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
    
    
                    <div class="container-fluid wrapper">
                         <div id="bloc-principal" class="row">
                            <div class="col-sm-12 text-center">
                                {% if parametreRef is defined and parametreRef is not empty %}
                                    <h2>{{parametreRef.soustitreparamref}}</h2>
                                    {{parametreRef.description|raw}}
                                {% endif %}
                            </div>
                        </div>
    
                        {% if actualites is defined and actualites is not empty %}
                            <div id="bloc-actualites" class="row">
                                <div class="col-sm-12 col-md-12">
                                    <div class="panel panel-success mb-4">
                                        <div class="panel-heading"><span class="panel-title"> {{title_page}}</span></div>
                                        <div class="panel-body">
                                            <ul>   
                                                {% for item in actualites %}
                                                    <li>
                                                        <a href="{{path('page',{slug:item.slug})}}" title="{{item.titre}}" target="_top"> {{item.titre}}</a>
                                                    </li>
                                                {% endfor %}                                                                                                                                                        
                                            </ul>  
                                        </div>
                                    </div>
                                </div>
                            </div>
                        {% endif %}
                    </div>
             </div> 
    {% endblock %}