|
|
.profile_avatar_holder
|
|
.profile_avatar_holder
|
|
|
= image_tag gravatar_icon(@user.email, 90), class: "styled_image"
|
|
= image_tag gravatar_icon(@user.email, 90)
|
|
|
%h3.page_title
|
|
%h3.page_title
|
|
|
= @user.name
|
|
= @user.name
|
|
|
%br
|
|
%br
|
| ... | @@ -19,21 +19,23 @@ |
... | @@ -19,21 +19,23 @@ |
|
|
.control-group
|
|
.control-group
|
|
|
= f.label :name, class: "control-label"
|
|
= f.label :name, class: "control-label"
|
|
|
.controls
|
|
.controls
|
|
|
= f.text_field :name, class: "input-xlarge"
|
|
= f.text_field :name, class: "input-xlarge", required: true
|
|
|
%span.help-block Enter your name, so people you know can recognize you.
|
|
%span.help-block Enter your name, so people you know can recognize you.
|
|
|
.control-group
|
|
.control-group
|
|
|
= f.label :email, class: "control-label"
|
|
= f.label :email, class: "control-label"
|
|
|
.controls
|
|
.controls
|
|
|
= f.text_field :email, class: "input-xlarge"
|
|
= f.text_field :email, class: "input-xlarge", required: true
|
|
|
%span.help-block We also use email for avatar detection.
|
|
%span.help-block We also use email for avatar detection.
|
|
|
|
|
|
|
|
.span5.right
|
|
.span5.right
|
|
|
%div.tips
|
|
%fieldset.tips
|
|
|
%h6 Tips:
|
|
%legend Tips:
|
|
|
%ul
|
|
%ul
|
|
|
|
%li
|
|
|
|
%p You can change your password on Account page
|
|
|
-unless Gitlab.config.disable_gravatar?
|
|
-unless Gitlab.config.disable_gravatar?
|
|
|
%li
|
|
%li
|
|
|
%p.hint You can change your avatar at #{link_to "gravatar.com", "http://gravatar.com"}
|
|
%p You can change your avatar at #{link_to "gravatar.com", "http://gravatar.com"}
|
|
|
|
|
|
|
|
- if Gitlab.config.omniauth_enabled? && @user.provider?
|
|
- if Gitlab.config.omniauth_enabled? && @user.provider?
|
|
|
%li
|
|
%li
|
| ... | @@ -41,7 +43,6 @@ |
... | @@ -41,7 +43,6 @@ |
|
|
You can login through #{@user.provider.titleize}!
|
|
You can login through #{@user.provider.titleize}!
|
|
|
= link_to "click here to change", profile_account_path
|
|
= link_to "click here to change", profile_account_path
|
|
|
|
|
|
|
|
%hr
|
|
|
|
|
.row
|
|
.row
|
|
|
.span7
|
|
.span7
|
|
|
.control-group
|
|
.control-group
|
| ... | @@ -59,23 +60,22 @@ |
... | @@ -59,23 +60,22 @@ |
|
|
= f.text_area :bio, rows: 6, class: "input-xlarge", maxlength: 250
|
|
= f.text_area :bio, rows: 6, class: "input-xlarge", maxlength: 250
|
|
|
%span.help-block Tell us about yourself in fewer than 250 characters.
|
|
%span.help-block Tell us about yourself in fewer than 250 characters.
|
|
|
.span5.right
|
|
.span5.right
|
|
|
.ui-box.white
|
|
%fieldset
|
|
|
.ui-box-body
|
|
%legend
|
|
|
%h4
|
|
|
|
|
Personal projects:
|
|
Personal projects:
|
|
|
%small.right
|
|
%small.right
|
|
|
%span= current_user.my_own_projects.count
|
|
%span= current_user.my_own_projects.count
|
|
|
of
|
|
of
|
|
|
%span= current_user.projects_limit
|
|
%span= current_user.projects_limit
|
|
|
|
.padded
|
|
|
.progress
|
|
.progress
|
|
|
.bar{style: "width: #{current_user.projects_limit_percent}%;"}
|
|
.bar{style: "width: #{current_user.projects_limit_percent}%;"}
|
|
|
|
|
|
|
|
.ui-box.white
|
|
%fieldset
|
|
|
.ui-box-body
|
|
%legend
|
|
|
%h4
|
|
|
|
|
SSH public keys:
|
|
SSH public keys:
|
|
|
%strong.right= link_to current_user.keys.count, keys_path
|
|
%strong.right= link_to current_user.keys.count, keys_path
|
|
|
|
|
.padded
|
|
|
= link_to "Add Public Key", new_key_path, class: "btn small"
|
|
= link_to "Add Public Key", new_key_path, class: "btn small"
|
|
|
|
|
|
|
|
.form-actions
|
|
.form-actions
|
| ... | |
... | |
| ... | | ... | |