Ver Fonte

renamed after_nav and added top_bar_before_nav block

Robert Gruendler há 13 anos atrás
pai
commit
6dc111b8d7
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      Resources/views/standard_layout.html.twig

+ 2 - 1
Resources/views/standard_layout.html.twig

@@ -85,6 +85,7 @@ file that was distributed with this source code.
                             {% endblock %}
                             {% if app.user %}
                                 <ul class="nav">
+                                    {% block top_bar_before_nav %} {% endblock %}
                                     {% for group in admin_pool.dashboardgroups %}
                                         <li class="dropdown">
                                             <a href="#" class="dropdown-toggle">{{ group.label|trans({}, 'SonataAdminBundle') }}</a>
@@ -97,7 +98,7 @@ file that was distributed with this source code.
                                             </ul>
                                         </li>
                                     {% endfor %}
-                                    {% block after_nav %} {% endblock %}
+                                    {% block top_bar_after_nav %} {% endblock %}
                                 </ul>
                             {% endif %}