Explorar el Código

fix bug: definir page_title si pas fait avant

Bastien Sevajol hace 12 años
padre
commit
94b3820dc1

+ 3 - 0
src/Muzich/HomeBundle/Resources/views/Home/index.html.twig Ver fichero

3
 {% if login is not defined %}
3
 {% if login is not defined %}
4
   {% set login = false %}
4
   {% set login = false %}
5
 {% endif %}
5
 {% endif %}
6
+{% if page_title is not defined %}
7
+  {% set page_title = null %}
8
+{% endif %}
6
 
9
 
7
 {% block title %}{% if page_title %}{{ page_title }}{% else %}{{ 'title.home'|trans({}, 'userui') }}{% endif %}{% endblock %}
10
 {% block title %}{% if page_title %}{{ page_title }}{% else %}{{ 'title.home'|trans({}, 'userui') }}{% endif %}{% endblock %}
8
 {% block mainbox_classes %}mainbox_margintop mainbox_nopadding{% endblock %}
11
 {% block mainbox_classes %}mainbox_margintop mainbox_nopadding{% endblock %}

+ 0 - 0
web/sitemap.xml Ver fichero