26 lines
974 B
Text
26 lines
974 B
Text
%ul
|
|
= nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
|
|
= link_to profile_path, title: "Profile" do
|
|
Profile
|
|
= nav_link(controller: :accounts) do
|
|
= link_to "Account", profile_account_path
|
|
= nav_link(controller: :emails) do
|
|
= link_to profile_emails_path do
|
|
Emails
|
|
%span.count= current_user.emails.count + 1
|
|
- unless current_user.ldap_user?
|
|
= nav_link(controller: :passwords) do
|
|
= link_to "Password", edit_profile_password_path
|
|
= nav_link(controller: :notifications) do
|
|
= link_to "Notifications", profile_notifications_path
|
|
= nav_link(controller: :keys) do
|
|
= link_to profile_keys_path do
|
|
SSH Keys
|
|
%span.count= current_user.keys.count
|
|
= nav_link(path: 'profiles#design') do
|
|
= link_to "Design", design_profile_path
|
|
= nav_link(controller: :groups) do
|
|
= link_to "Groups", profile_groups_path
|
|
= nav_link(path: 'profiles#history') do
|
|
= link_to "History", history_profile_path
|
|
|