2014-12-25 03:13:45 -05:00
|
|
|
%ul.nav.nav-sidebar
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
|
|
|
|
= link_to profile_path, title: "Profile" do
|
2014-12-17 05:44:36 -05:00
|
|
|
%i.fa.fa-user
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
Profile
|
2013-10-09 09:37:37 -04:00
|
|
|
= nav_link(controller: :accounts) do
|
2014-12-17 05:44:36 -05:00
|
|
|
= link_to profile_account_path do
|
|
|
|
%i.fa.fa-gear
|
2014-12-29 06:58:01 -05:00
|
|
|
%span
|
|
|
|
Account
|
2014-12-25 11:35:04 -05:00
|
|
|
= nav_link(path: ['profiles#applications', 'applications#edit', 'applications#show', 'applications#new']) do
|
|
|
|
= link_to applications_profile_path do
|
|
|
|
%i.fa.fa-cloud
|
2014-12-25 13:51:07 -05:00
|
|
|
%span
|
|
|
|
Applications
|
2014-02-08 22:08:49 -05:00
|
|
|
= nav_link(controller: :emails) do
|
|
|
|
= link_to profile_emails_path do
|
2014-12-17 05:44:36 -05:00
|
|
|
%i.fa.fa-envelope-o
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
Emails
|
|
|
|
%span.count= current_user.emails.count + 1
|
2013-10-09 09:37:37 -04:00
|
|
|
- unless current_user.ldap_user?
|
|
|
|
= nav_link(controller: :passwords) do
|
2014-12-17 05:44:36 -05:00
|
|
|
= link_to edit_profile_password_path do
|
|
|
|
%i.fa.fa-lock
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
Password
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(controller: :notifications) do
|
2014-12-17 05:44:36 -05:00
|
|
|
= link_to profile_notifications_path do
|
|
|
|
%i.fa.fa-inbox
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
Notifications
|
2014-12-17 05:44:36 -05:00
|
|
|
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(controller: :keys) do
|
2013-06-24 11:24:14 -04:00
|
|
|
= link_to profile_keys_path do
|
2014-12-17 05:44:36 -05:00
|
|
|
%i.fa.fa-key
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
SSH Keys
|
|
|
|
%span.count= current_user.keys.count
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(path: 'profiles#design') do
|
2014-12-17 05:44:36 -05:00
|
|
|
= link_to design_profile_path do
|
|
|
|
%i.fa.fa-image
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
Design
|
2013-07-12 11:22:03 -04:00
|
|
|
= nav_link(controller: :groups) do
|
2014-12-17 05:44:36 -05:00
|
|
|
= link_to profile_groups_path do
|
|
|
|
%i.fa.fa-group
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
Groups
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(path: 'profiles#history') do
|
2014-12-17 05:44:36 -05:00
|
|
|
= link_to history_profile_path do
|
|
|
|
%i.fa.fa-history
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
History
|
2013-04-01 15:30:48 -04:00
|
|
|
|