Commit 9b7241dfdd4a3a33e137b9aed9b73d59a07973b1

Authored by Dmitriy Zaporozhets
1 parent 9f38cf50

Add page titles with for profile area

app/assets/stylesheets/gitlab_bootstrap/common.scss
... ... @@ -66,7 +66,7 @@ input[type='text'].danger {
66 66 text-shadow: 0 1px 1px #fff
67 67 }
68 68  
69   -fieldset legend { font-size: 17px; }
  69 +fieldset legend { font-size: 15px; }
70 70  
71 71 .tab-content {
72 72 overflow: visible;
... ...
app/views/profiles/account.html.haml
  1 +%h3.page-title
  2 + Account settings
  3 +%p.light
  4 + You can change password, username, private token here.
  5 + - if current_user.ldap_user?
  6 + Some options are unavailable for LDAP accounts
  7 +%hr
1 8 - unless current_user.ldap_user?
2 9 - if Gitlab.config.omniauth.enabled
3 10 %fieldset
... ...
app/views/profiles/design.html.haml
  1 +%h3.page-title
  2 + My appearance settings
  3 +%p.light
  4 + Appearance settings saved to your profile and available across all devices
  5 +%hr
  6 +
1 7 = form_for @user, url: profile_path, remote: true, method: :put do |f|
2 8 %fieldset.application-theme
3 9 %legend
... ...
app/views/profiles/groups/index.html.haml
  1 +%h3.page-title
  2 + Group membership
  3 +%p.light
  4 + Members of group have access to all group projects.
  5 +%hr
1 6 .ui-box
2 7 .title
3 8 %strong Groups
... ...
app/views/profiles/history.html.haml
  1 +%h3.page-title
  2 + Account history
  3 +%p.light
  4 + You can see all events authored by your account here
  5 +%hr
1 6 .profile_history
2 7 = render @events
3 8 %hr
... ...
app/views/profiles/keys/index.html.haml
  1 +%h3.page-title
  2 + My SSH keys
1 3 %p.light
2 4 SSH key allows you to establish a secure connection between your computer and GitLab
3   -%p.light
  5 + %br
4 6 Before you can add ssh key you need to
5 7 = link_to "generate it", help_ssh_path
6   -
  8 +%hr
7 9  
8 10  
9 11 .ui-box
... ...
app/views/profiles/notifications/show.html.haml
1 1 %h3.page-title
2 2 Notifications settings
3   -
  3 +%p.light
  4 + Application use email specified in your profile for notifications
  5 +%hr
4 6 .alert.alert-info
5 7 %p
6 8 %i.icon-circle.cred
... ...