Commit d7310fe7a9fcfec4fa49e6f5cd64899604155633
1 parent
87415ab2
Exists in
spb-stable
and in
3 other branches
Improve email page ui
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
8 additions
and
4 deletions
Show diff stats
app/views/profiles/emails/index.html.haml
1 | %h3.page-title | 1 | %h3.page-title |
2 | - My Email Addresses | 2 | + My email addresses |
3 | %p.light | 3 | %p.light |
4 | Your | 4 | Your |
5 | %b Primary Email | 5 | %b Primary Email |
6 | - 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. | 6 | + will be used for account notifications, avatar detection and web based operations, such as edits and merges. |
7 | + %br | ||
8 | + All email addresses will be used to identify your commits. | ||
9 | + | ||
10 | +%hr | ||
7 | 11 | ||
8 | .ui-box | 12 | .ui-box |
9 | .title | 13 | .title |
@@ -19,11 +23,11 @@ | @@ -19,11 +23,11 @@ | ||
19 | added #{time_ago_with_tooltip(email.created_at)} | 23 | added #{time_ago_with_tooltip(email.created_at)} |
20 | = link_to 'Remove', profile_email_path(email), data: { confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-small btn-remove pull-right' | 24 | = link_to 'Remove', profile_email_path(email), data: { confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-small btn-remove pull-right' |
21 | 25 | ||
22 | -%h3.page-title Add Email Address | 26 | +%h4 Add email address |
23 | = form_for 'email', url: profile_emails_path, html: { class: 'form-horizontal' } do |f| | 27 | = form_for 'email', url: profile_emails_path, html: { class: 'form-horizontal' } do |f| |
24 | .form-group | 28 | .form-group |
25 | = f.label :email, class: 'control-label' | 29 | = f.label :email, class: 'control-label' |
26 | .col-sm-10 | 30 | .col-sm-10 |
27 | = f.text_field :email, class: 'form-control' | 31 | = f.text_field :email, class: 'form-control' |
28 | .form-actions | 32 | .form-actions |
29 | - = f.submit 'Add', class: 'btn btn-create' | ||
30 | \ No newline at end of file | 33 | \ No newline at end of file |
34 | + = f.submit 'Add', class: 'btn btn-create' |