Sha256: 0e93220582957492b877cef067de9e36a384f352f88af94f9b83caacef7f0c3b

Contents?: true

Size: 1019 Bytes

Versions: 1

Compression:

Stored size: 1019 Bytes

Contents

<% sidebar.with_brand(url: dashboard_path) { "KIQR" } %>

<% sidebar.with_navigation(grow: true) do |navbar| %>
  <% navbar.with_link(url: dashboard_path, icon: "fa fa-home", active: current_base_path?(dashboard_path)) { "Dashboard" } %>
<% end %>

<% sidebar.with_navigation do |navbar| %>
  <% navbar.with_link(url: "#", icon: "fa fa-question-circle") { "Support" } %>
  <% navbar.with_link(url: user_settings_profile_path, icon: "fa fa-gear", active: current_base_path?(user_settings_profile_path.gsub("/profile", ""))) { "Settings" } %>
  <% navbar.with_link(url: account_settings_profile_path, icon: "fa fa-users", active: current_base_path?(account_settings_profile_path.gsub("/profile", ""))) { "Team settings" } if current_account&.team? %>
  <% navbar.with_link(url: destroy_user_session_path, icon: "fa fa-right-from-bracket", method: :delete) { "Sign out" } %>
<% end %>

<% if current_user.onboarded? %>
  <% sidebar.with_section do %>
    <%= render "kiqr/shared/account_switcher" %>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kiqr-0.1.0.alpha1 lib/kiqr/themes/irelia/views/kiqr/shared/_sidebar.html.erb