]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
Moved strings to locales + Added 'Issues' button + Fixed typo in tests
[rails.git] / app / views / layouts / _header.html.erb
index a8811c6c9c39ff27842ba803faef9aa651fb5036..3187d0b27f6ee7b029716d9f9810bdc43685e623 100644 (file)
@@ -38,6 +38,9 @@
   </nav>
   <nav class='secondary'>
     <ul>
+      <% if @user and @user.administrator? %>
+        <li class="compact-hide <%= current_page_class(issues_path) %>"><%= link_to t('layouts.issues'), issues_path %></li>
+      <% end %>
       <li class="compact-hide <%= current_page_class(traces_path) %>"><%= link_to t('layouts.gps_traces'), traces_path %></li>
       <li class="compact-hide <%= current_page_class(diary_path) %>"><%= link_to t('layouts.user_diaries'), diary_path %></li>
       <li class="compact-hide <%= current_page_class(copyright_path) %>"><%= link_to t('layouts.copyright'), copyright_path %></li>