2014-12-25 08:13:45 +00:00
|
|
|
%ul.nav.nav-sidebar
|
2015-07-10 11:07:24 +00:00
|
|
|
= nav_link do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to root_path, title: 'Go to dashboard', class: 'back-link' do
|
2015-07-10 11:07:24 +00:00
|
|
|
= icon('caret-square-o-left fw')
|
|
|
|
%span
|
2015-11-03 12:22:11 +00:00
|
|
|
Go to dashboard
|
2015-07-10 11:07:24 +00:00
|
|
|
|
|
|
|
%li.separate-item
|
|
|
|
|
2013-04-01 19:30:48 +00:00
|
|
|
= nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to profile_path, title: 'Profile Settings' do
|
2015-04-23 18:29:00 +00:00
|
|
|
= icon('user fw')
|
2014-12-25 08:13:45 +00:00
|
|
|
%span
|
2015-09-09 21:05:47 +00:00
|
|
|
Profile Settings
|
2015-05-06 17:35:55 +00:00
|
|
|
= nav_link(controller: [:accounts, :two_factor_auths]) do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to profile_account_path, title: 'Account' do
|
2015-04-23 18:29:00 +00:00
|
|
|
= icon('gear fw')
|
2014-12-29 11:58:01 +00:00
|
|
|
%span
|
|
|
|
Account
|
2016-03-12 04:38:25 +00:00
|
|
|
= nav_link(controller: 'oauth/applications') do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to applications_profile_path, title: 'Applications' do
|
2015-04-23 18:29:00 +00:00
|
|
|
= icon('cloud fw')
|
2014-12-25 18:51:07 +00:00
|
|
|
%span
|
|
|
|
Applications
|
2014-02-09 03:08:49 +00:00
|
|
|
= nav_link(controller: :emails) do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to profile_emails_path, title: 'Emails' do
|
2015-04-23 18:29:00 +00:00
|
|
|
= icon('envelope-o fw')
|
2014-12-25 08:13:45 +00:00
|
|
|
%span
|
|
|
|
Emails
|
2015-12-31 03:03:43 +00:00
|
|
|
%span.count= number_with_delimiter(current_user.emails.count + 1)
|
2013-10-09 13:37:37 +00:00
|
|
|
- unless current_user.ldap_user?
|
|
|
|
= nav_link(controller: :passwords) do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to edit_profile_password_path, title: 'Password' do
|
2015-04-23 18:29:00 +00:00
|
|
|
= icon('lock fw')
|
2014-12-25 08:13:45 +00:00
|
|
|
%span
|
|
|
|
Password
|
2013-04-01 19:30:48 +00:00
|
|
|
= nav_link(controller: :notifications) do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to profile_notifications_path, title: 'Notifications' do
|
2015-04-23 18:29:00 +00:00
|
|
|
= icon('inbox fw')
|
2014-12-25 08:13:45 +00:00
|
|
|
%span
|
|
|
|
Notifications
|
2014-12-17 10:44:36 +00:00
|
|
|
|
2013-04-01 19:30:48 +00:00
|
|
|
= nav_link(controller: :keys) do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to profile_keys_path, title: 'SSH Keys' do
|
2015-04-23 18:29:00 +00:00
|
|
|
= icon('key fw')
|
2014-12-25 08:13:45 +00:00
|
|
|
%span
|
|
|
|
SSH Keys
|
2015-12-31 03:03:43 +00:00
|
|
|
%span.count= number_with_delimiter(current_user.keys.count)
|
2015-06-05 18:00:21 +00:00
|
|
|
= nav_link(controller: :preferences) do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to profile_preferences_path, title: 'Preferences' do
|
2015-06-05 18:00:21 +00:00
|
|
|
-# TODO (rspeicher): Better icon?
|
2015-04-23 18:29:00 +00:00
|
|
|
= icon('image fw')
|
2014-12-25 08:13:45 +00:00
|
|
|
%span
|
2015-06-05 18:00:21 +00:00
|
|
|
Preferences
|
2015-07-03 11:54:50 +00:00
|
|
|
= nav_link(path: 'profiles#audit_log') do
|
2015-12-02 13:05:10 +00:00
|
|
|
= link_to audit_log_profile_path, title: 'Audit Log' do
|
2015-04-23 18:29:00 +00:00
|
|
|
= icon('history fw')
|
2014-12-25 08:13:45 +00:00
|
|
|
%span
|
2015-07-03 11:54:50 +00:00
|
|
|
Audit Log
|