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 | 1 | %h3.page-title |
| 2 | - My Email Addresses | |
| 2 | + My email addresses | |
| 3 | 3 | %p.light |
| 4 | 4 | Your |
| 5 | 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 | 12 | .ui-box |
| 9 | 13 | .title |
| ... | ... | @@ -19,11 +23,11 @@ |
| 19 | 23 | added #{time_ago_with_tooltip(email.created_at)} |
| 20 | 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 | 27 | = form_for 'email', url: profile_emails_path, html: { class: 'form-horizontal' } do |f| |
| 24 | 28 | .form-group |
| 25 | 29 | = f.label :email, class: 'control-label' |
| 26 | 30 | .col-sm-10 |
| 27 | 31 | = f.text_field :email, class: 'form-control' |
| 28 | 32 | .form-actions |
| 29 | - = f.submit 'Add', class: 'btn btn-create' | |
| 30 | 33 | \ No newline at end of file |
| 34 | + = f.submit 'Add', class: 'btn btn-create' | ... | ... |