2016-05-25 12:42:43 -04:00
|
|
|
%ul.nav-links.scrolling-tabs
|
2016-05-24 12:30:53 -04:00
|
|
|
.fade-left
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
|
2015-12-02 08:05:10 -05:00
|
|
|
= link_to profile_path, title: 'Profile Settings' do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('user fw')
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
2016-04-19 14:05:30 -04:00
|
|
|
Profile
|
2015-05-06 13:35:55 -04:00
|
|
|
= nav_link(controller: [:accounts, :two_factor_auths]) do
|
2015-12-02 08:05:10 -05:00
|
|
|
= link_to profile_account_path, title: 'Account' do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('gear fw')
|
2014-12-29 06:58:01 -05:00
|
|
|
%span
|
|
|
|
Account
|
2016-06-08 02:15:45 -04:00
|
|
|
- if current_application_settings.user_oauth_applications?
|
|
|
|
= nav_link(controller: 'oauth/applications') do
|
|
|
|
= link_to applications_profile_path, title: 'Applications' do
|
|
|
|
= icon('cloud fw')
|
|
|
|
%span
|
|
|
|
Applications
|
2014-02-08 22:08:49 -05:00
|
|
|
= nav_link(controller: :emails) do
|
2015-12-02 08:05:10 -05:00
|
|
|
= link_to profile_emails_path, title: 'Emails' do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('envelope-o fw')
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
Emails
|
2013-10-09 09:37:37 -04:00
|
|
|
- unless current_user.ldap_user?
|
|
|
|
= nav_link(controller: :passwords) do
|
2015-12-02 08:05:10 -05:00
|
|
|
= link_to edit_profile_password_path, title: 'Password' 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-12-02 08:05:10 -05:00
|
|
|
= link_to profile_notifications_path, title: 'Notifications' 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-12-02 08:05:10 -05:00
|
|
|
= link_to profile_keys_path, title: 'SSH Keys' do
|
2015-04-23 14:29:00 -04:00
|
|
|
= icon('key fw')
|
2014-12-25 03:13:45 -05:00
|
|
|
%span
|
|
|
|
SSH Keys
|
2015-06-05 14:00:21 -04:00
|
|
|
= nav_link(controller: :preferences) do
|
2015-12-02 08:05:10 -05:00
|
|
|
= link_to profile_preferences_path, title: 'Preferences' do
|
2015-06-05 14:00:21 -04:00
|
|
|
-# 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
|
2015-12-02 08:05:10 -05:00
|
|
|
= link_to audit_log_profile_path, title: 'Audit Log' 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
|
2016-05-24 12:30:53 -04:00
|
|
|
.fade-right
|