{% extends "MuzichHomeBundle::layout.html.twig" %} {% if login is not defined %} {% set login = false %} {% endif %} {% if page_title is not defined %} {% set page_title = null %} {% endif %} {% block title %}{% if page_title %}{{ page_title }}{% else %}{{ 'title.home'|trans({}, 'userui') }}{% endif %}{% endblock %} {% block mainbox_classes %}mainbox_margintop mainbox_nopadding{% endblock %} {% block content %} {% include 'MuzichCoreBundle:Component:element_add_buttons.html.twig' %} {% include 'MuzichHomeBundle:Component:filter_menu.html.twig' %} {% include 'MuzichCoreBundle:Component:element_add_box.html.twig' with { 'box_title': 'home.add_element_box.title'|trans({}, 'navigationui') } %} {% if app.user %} {% if app.user.wantSeeHelp('home') %} {% include 'MuzichCoreBundle:HelpTour:home.html.twig' with {'start' : true} %} {% endif %} {% else %} {% include 'MuzichCoreBundle:HelpTour:home.html.twig' with {'start' : false} %} {% endif %} {# TODO: Cette partie de javascript ne devra plus exister après la réecriture du code javascript #} {% if from_url is defined %} {% if from_url %} {% endif %} {% endif %} {% if login %} {% endif %}