cccms dashboard

<%= link_to new_node_path, class: "action_button" do %> <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create post <% end %> <%= link_to chapters_nodes_path, class: "action_button" do %> <%= icon("map-pin", library: "tabler", "aria-hidden": true) %> Find a chapter <% end %> <%= link_to new_asset_path, class: "action_button" do %> <%= icon("upload", library: "tabler", "aria-hidden": true) %> Upload asset <% end %> <%= link_to sitemap_nodes_path, class: "action_button" do %> <%= icon("list-tree", library: "tabler", "aria-hidden": true) %> Add a page in the page tree <% end %>

Drafts and autosaves

<%= link_to "See all drafts →", drafts_nodes_path %>

Recent changes

<%= render partial: "node_actions/action_row", collection: @actions, as: :action %>
<%= link_to "See all recent changes →", admin_log_path %>

Housekeeping

<%= link_to edit_user_path(current_user), class: "action_button" do %> <%= icon("user-cog", library: "tabler", "aria-hidden": true) %> My account <% end %> <%= link_to nodes_path, class: "action_button" do %> <%= icon("list", library: "tabler", "aria-hidden": true) %> Nodes <% end %> <%= link_to events_path, class: "action_button" do %> <%= icon("calendar", library: "tabler", "aria-hidden": true) %> Events <% end %> <%= link_to assets_path, class: "action_button" do %> <%= icon("folder", library: "tabler", "aria-hidden": true) %> Assets <% end %> <%= link_to users_path, class: "action_button" do %> <%= icon("users", library: "tabler", "aria-hidden": true) %> Users <% end %> <%= link_to menu_items_path, class: "action_button" do %> <%= icon("menu-2", library: "tabler", "aria-hidden": true) %> Navigation <% end %> <% trash_count = Node.trash.children.count %> <%= link_to trashed_nodes_path, class: "action_button" do %> <%= icon("trash", library: "tabler", "aria-hidden": true) %> Trash<%= " (#{trash_count})" if trash_count > 0 %> <% end %>