Commit dcc9dc94 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Re-organize profile settings titles and headers

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 72e41096
- page_title "Profile" - page_title "Settings"
- header_title "Profile", profile_path - header_title "Settings", profile_path
- sidebar "profile" - sidebar "profile"
= render template: "layouts/application" = render template: "layouts/application"
- page_title "Applications" - page_title "Applications"
%h3.page-title %h3.page-title
Application Settings = page_title
%p.light %p.light
OAuth2 protocol settings below. OAuth2 protocol settings below.
......
- page_title "Design" - page_title "Design"
%h3.page-title %h3.page-title
Design Settings = page_title
%p.light %p.light
Appearance settings will be saved to your profile and made available across all devices. Appearance settings will be saved to your profile and made available across all devices.
%hr %hr
......
- page_title "Emails" - page_title "Emails"
%h3.page-title %h3.page-title
Email Settings = page_title
%p.light %p.light
Your Your
%b Primary Email %b Primary Email
......
- page_title "SSH Keys" - page_title "SSH Keys"
%h3.page-title %h3.page-title
SSH Keys Settings = page_title
.pull-right .pull-right
= link_to "Add SSH Key", new_profile_key_path, class: "btn btn-new" = link_to "Add SSH Key", new_profile_key_path, class: "btn btn-new"
%p.light %p.light
......
- page_title "Notifications" - page_title "Notifications"
%h3.page-title %h3.page-title
Notifications Settings = page_title
%p.light %p.light
These are your global notification settings. These are your global notification settings.
%hr %hr
......
- page_title "Password" - page_title "Password"
%h3.page-title Password Settings %h3.page-title
= page_title
%p.light %p.light
- if @user.password_automatically_set? - if @user.password_automatically_set?
Set your password. Set your password.
......
- page_title "Settings" - page_title "Profile"
%h3.page-title %h3.page-title
Profile Settings = page_title
%p.light %p.light
This information will appear on your profile. This information will appear on your profile.
- if current_user.ldap_user? - if current_user.ldap_user?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment