浏览代码

renamed after_nav and added top_bar_before_nav block

Robert Gruendler 13 年之前
父节点
当前提交
6dc111b8d7
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 %}