فهرست منبع

Merge pull request #1020 from mmucklo/master

Move admin_pool check up a few lines
Thomas 12 سال پیش
والد
کامیت
4144b92ba7
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Resources/views/standard_layout.html.twig

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

@@ -78,9 +78,9 @@ file that was distributed with this source code.
                         <span class="icon-bar"></span>
                     </a>
 
-                    <div class="navbar-text pull-right">{% include admin_pool.getTemplate('user_block') %}</div>
-
                     {% if admin_pool is defined %}
+                        <div class="navbar-text pull-right">{% include admin_pool.getTemplate('user_block') %}</div>
+
                         {% block logo %}
                             <a href="{{ url('sonata_admin_dashboard') }}" class="brand">
                                 <img src="{{ asset(admin_pool.titlelogo) }}"  alt="{{ admin_pool.title }}" />