2014-12-25 03:13:45 -05:00
|
|
|
%ul.nav.nav-sidebar
|
2015-07-10 07:07:24 -04:00
|
|
|
= nav_link do
|
2015-07-13 05:56:08 -04:00
|
|
|
= link_to root_path, title: 'Back to dashboard', data: {placement: 'right'}, class: 'back-link' do
|
2015-07-10 07:07:24 -04:00
|
|
|
= icon('caret-square-o-left fw')
|
|
|
|
%span
|
2015-09-08 09:43:41 -04:00
|
|
|
Back to dashboard
|
2015-07-10 07:07:24 -04:00
|
|
|
|
|
|
|
%li.separate-item
|
|
|
|
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
|
2015-04-25 16:03:03 -04:00
|
|
|
= link_to profile_path, title: 'Profile', data: {placement: 'right'} do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('user fw')
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
2015-09-09 17:05:47 -04:00
|
|
|
Profile Settings
|
2015-05-06 13:35:55 -04:00
|
|
|
= nav_link(controller: [:accounts, :two_factor_auths]) do
|
2015-04-25 16:03:03 -04:00
|
|
|
= link_to profile_account_path, title: 'Account', data: {placement: 'right'} do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('gear fw')
|
2014-12-29 06:58:01 -05:00
|
|
|
%span
|
|
|
|
Account
|
2015-06-14 11:35:03 -04:00
|
|
|
= nav_link(path: ['profiles#applications', 'applications#edit', 'applications#show', 'applications#new', 'applications#create']) do
|
2015-04-25 16:03:03 -04:00
|
|
|
= link_to applications_profile_path, title: 'Applications', data: {placement: 'right'} do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('cloud fw')
|
2014-12-25 13:51:07 -05:00
|
|
|
%span
|
|
|
|
Applications
|
2014-02-08 22:08:49 -05:00
|
|
|
= nav_link(controller: :emails) do
|
2015-04-25 16:03:03 -04:00
|
|
|
= link_to profile_emails_path, title: 'Emails', data: {placement: 'right'} do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('envelope-o fw')
|
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
|
2015-04-25 16:03:03 -04:00
|
|
|
= link_to edit_profile_password_path, title: 'Password', data: {placement: 'right'} do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('lock fw')
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
Password
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(controller: :notifications) do
|
2015-04-25 16:03:03 -04:00
|
|
|
= link_to profile_notifications_path, title: 'Notifications', data: {placement: 'right'} do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('inbox fw')
|
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
|
2015-04-25 16:03:03 -04:00
|
|
|
= link_to profile_keys_path, title: 'SSH Keys', data: {placement: 'right'} do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('key fw')
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
SSH Keys
|
|
|
|
%span.count= current_user.keys.count
|
2015-06-05 14:00:21 -04:00
|
|
|
= nav_link(controller: :preferences) do
|
|
|
|
= link_to profile_preferences_path, title: 'Preferences', data: {placement: 'right'} do
|
|
|
|
-# TODO (rspeicher): Better icon?
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('image fw')
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
2015-06-05 14:00:21 -04:00
|
|
|
Preferences
|
2015-07-03 07:54:50 -04:00
|
|
|
= nav_link(path: 'profiles#audit_log') do
|
|
|
|
= link_to audit_log_profile_path, title: 'Audit Log', data: {placement: 'right'} do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('history fw')
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
2015-07-03 07:54:50 -04:00
|
|
|
Audit Log
|