mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
remove recent content from navbar
This commit is contained in:
parent
679c372c96
commit
e02408ec9e
@ -26,26 +26,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul id="recent-content-dropdown" class="dropdown-content">
|
||||
<% if user_signed_in? %>
|
||||
<% current_user.recent_content_list.each do |content| %>
|
||||
<% content_class = content.class %>
|
||||
<li>
|
||||
<%= link_to content, class: "#{content_class.color}-text" do %>
|
||||
<i class="material-icons left"><%= content_class.icon %></i>
|
||||
<%= content.name %>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if current_user.content_count > 0 %>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<%= link_to 'More...', recent_content_path, class: 'blue-text' %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<ul id="desktop-user-dropdown" class="dropdown-content">
|
||||
<% if current_user %>
|
||||
<li>
|
||||
@ -151,11 +131,6 @@
|
||||
<%= render partial: 'universes/picker' %>
|
||||
<% end %>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-button tooltipped" href="#!" data-activates="recent-content-dropdown" data-position="bottom" data-delay="100" data-tooltip="Your recently-edited pages">
|
||||
<i class="material-icons">recent_actors</i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#search" class="dropdown-button tooltipped" href="#!" data-tooltip="Search your notebook">
|
||||
<i class="material-icons">search</i>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user