]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
Merge branch 'master' into moderation
[rails.git] / app / views / layouts / _header.html.erb
index 262989752706e10951415b19fd85ac413a494964..cd18e79dfc22401f74b4c569f88fc28e76542fff 100644 (file)
@@ -38,6 +38,9 @@
   </nav>
   <nav class='secondary'>
     <ul>
+      <% if @user and ( @user.administrator? or @user.moderator? ) %>
+        <li class="compact-hide <%= current_page_class(issues_path) %>"><b><%= link_to t('layouts.reports'), issues_path %></b></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>