Commit 0407abbd authored by Eric Davis's avatar Eric Davis

Hide the More menu if there are no items to show

parent 4ce3b884
......@@ -58,6 +58,7 @@
<%= project_content %>
</ul>
</li>
<% if more_top_menu_items.present? || User.current.admin? %>
<li class="drop-down" id="more-menu">
<a class="more" href="#"><%= l(:label_more) %></a>
<ul style="display:none;">
......@@ -72,6 +73,7 @@
<% end %>
</ul>
</li>
<% end %>
<li>
<%= render_menu_node(help_menu_item) %>
<% unless User.current.logged? %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment