]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
stub model and show in view
[rails.git] / app / views / layouts / _header.html.erb
index 6b6271c2b8e13a858ae357cedf3b833be0f49179..a6e390071cbe68092fec445efefef63ac69bbdaa 100644 (file)
@@ -59,6 +59,9 @@
       <li class="compact-hide nav-item <%= current_page_class(about_path) %>">
         <%= link_to t("layouts.about"), about_path, :class => "nav-link" %>
       </li>
+      <li class="compact-hide nav-item <%= current_page_class(communities_path) %>">
+        <%= link_to t("layouts.communities"), communities_path, :class => "nav-link" %>
+      </li>
       <li id="compact-secondary-nav" class="dropdown nav-item">
         <a class="dropdown-toggle nav-link" data-toggle="dropdown" href="#"><%= t "layouts.more" %></a>
         <ul class="dropdown-menu">
@@ -75,6 +78,7 @@
           <li class="<%= current_page_class(copyright_path) %>"><%= link_to t("layouts.copyright"), copyright_path, :class => "dropdown-item" %></li>
           <li class="<%= current_page_class(help_path) %>"><%= link_to t("layouts.help"), help_path, :class => "dropdown-item" %></li>
           <li class="<%= current_page_class(about_path) %>"><%= link_to t("layouts.about"), about_path, :class => "dropdown-item" %></li>
+          <li class="<%= current_page_class(communities_path) %>"><%= link_to t("layouts.communities"), communities_path, :class => "dropdown-item" %></li>
         </ul>
       </li>
     </ul>