gitlab-org--gitlab-foss/app/views/layouts/nav/_profile.html.haml

27 lines
974 B
Plaintext
Raw Normal View History

2013-04-01 19:30:48 +00:00
%ul
= nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
= link_to profile_path, title: "Profile" do
Profile
2013-10-09 13:37:37 +00:00
= 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
2013-10-09 13:37:37 +00:00
- unless current_user.ldap_user?
= nav_link(controller: :passwords) do
= link_to "Password", edit_profile_password_path
2013-04-01 19:30:48 +00:00
= nav_link(controller: :notifications) do
= link_to "Notifications", profile_notifications_path
= nav_link(controller: :keys) do
= link_to profile_keys_path do
2013-04-01 19:30:48 +00:00
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
2013-04-01 19:30:48 +00:00
= nav_link(path: 'profiles#history') do
= link_to "History", history_profile_path