summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-02-15 14:01:08 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-02-15 14:01:08 +0200
commitd7310fe7a9fcfec4fa49e6f5cd64899604155633 (patch)
treefe206d234945bd2978733c78ecfc249932f47067 /app
parent87415ab2a67495713be5da79a60c1ec26060be9b (diff)
downloadgitlab-ce-d7310fe7a9fcfec4fa49e6f5cd64899604155633.tar.gz
Improve email page ui
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/views/profiles/emails/index.html.haml12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/views/profiles/emails/index.html.haml b/app/views/profiles/emails/index.html.haml
index dc45ab2de79..b5f1e438ccb 100644
--- a/app/views/profiles/emails/index.html.haml
+++ b/app/views/profiles/emails/index.html.haml
@@ -1,9 +1,13 @@
%h3.page-title
- My Email Addresses
+ My email addresses
%p.light
Your
%b Primary Email
- will be used for account notifications, avatar detection and web based operations, such as edits and merges. All email addresses will be used to identify your commits.
+ will be used for account notifications, avatar detection and web based operations, such as edits and merges.
+ %br
+ All email addresses will be used to identify your commits.
+
+%hr
.ui-box
.title
@@ -19,11 +23,11 @@
added #{time_ago_with_tooltip(email.created_at)}
= link_to 'Remove', profile_email_path(email), data: { confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-small btn-remove pull-right'
-%h3.page-title Add Email Address
+%h4 Add email address
= form_for 'email', url: profile_emails_path, html: { class: 'form-horizontal' } do |f|
.form-group
= f.label :email, class: 'control-label'
.col-sm-10
= f.text_field :email, class: 'form-control'
.form-actions
- = f.submit 'Add', class: 'btn btn-create' \ No newline at end of file
+ = f.submit 'Add', class: 'btn btn-create'