Browse Source

Restructure navigation order to have login/login drop down in the far right

Jake Smith 9 years ago
parent
commit
8fe6ebee34
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/Packagist/WebBundle/Resources/views/layout.html.twig

+ 6 - 6
src/Packagist/WebBundle/Resources/views/layout.html.twig

@@ -43,6 +43,12 @@
 
                     <div class="collapse navbar-collapse">
                         <ul class="nav navbar-nav">
+                            <li>
+                                <a href="{{ path('browse') }}">Browse</a>
+                            </li>
+                            <li>
+                                <a href="{{ path('submit') }}">Submit</a>
+                            </li>
                         {%- if app.user %}
                             <li class="nav-user">
                                 <section>
@@ -96,12 +102,6 @@
                                 </section>
                             </li>
                         {%- endif %}
-                            <li>
-                                <a href="{{ path('browse') }}">Browse</a>
-                            </li>
-                            <li>
-                                <a href="{{ path('submit') }}">Submit</a>
-                            </li>
                         </ul>
                     </div>
                 </div>