Shift Add Board around in the nav
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
<% # Using method: :get inside Turbo frame triggers some special Turbo handling where the script_name is lost %>
|
||||
<% if user_filtering.collections.any? %>
|
||||
<%= collapsible_nav_section "Boards" do %>
|
||||
<%= collapsible_nav_section "Boards" do %>
|
||||
<li class="popup__item" data-filter-target="item" data-navigable-list-target="item">
|
||||
<%= icon_tag "add", class: "popup__icon" %>
|
||||
<%= link_to new_collection_path, class: "popup__btn btn" do %>
|
||||
<span class="overflow-ellipsis">Add board</span>
|
||||
<% end %>
|
||||
</li>
|
||||
<% if user_filtering.collections.any? %>
|
||||
<%= render partial: "my/menus/collections/collection", collection: user_filtering.collections, as: :collection %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="fizzy-menu__hotkeys" role="list">
|
||||
<%= filter_hotkey_link "Home", root_path, 1, "home" %>
|
||||
<%= filter_hotkey_link "Assigned to me", cards_path(assignee_ids: [Current.user.id]), 2, "clipboard" %>
|
||||
<%= filter_hotkey_link "Added by me", cards_path(creator_ids: [Current.user.id]), 3, "person-add" %>
|
||||
<%= filter_hotkey_link "New board", new_collection_path, 4, "collection-add" %>
|
||||
<%= filter_hotkey_link "New board", new_collection_path, 2, "collection-add" %>
|
||||
<%= filter_hotkey_link "Assigned to me", cards_path(assignee_ids: [Current.user.id]), 3, "clipboard" %>
|
||||
<%= filter_hotkey_link "Added by me", cards_path(creator_ids: [Current.user.id]), 4, "person-add" %>
|
||||
<%= filter_hotkey_link "Notifications", notifications_path, 5, "bell" %>
|
||||
<%= filter_hotkey_link "Account #{tag.span("Settings", class: "visually-hidden")}", account_settings_path, 6, "settings" %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user