diff options
author | Alexandra <brett@digitalmoksha.com> | 2017-10-01 18:07:26 +0300 |
---|---|---|
committer | Alexandra <brett@digitalmoksha.com> | 2017-10-01 18:07:26 +0300 |
commit | ed3c25e4294bfc75f7167ed63e30561e39ac3a97 (patch) | |
tree | 1c00af6738e0742e9d2140222ebdea669c8b6c37 /app/views/profiles | |
parent | 39fbac868197442053d058023206f84f63473551 (diff) |
spacing and small optimisations
Diffstat (limited to 'app/views/profiles')
-rw-r--r-- | app/views/profiles/emails/index.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/profiles/emails/index.html.haml b/app/views/profiles/emails/index.html.haml index b0dc8c526e1..df1df4f5d72 100644 --- a/app/views/profiles/emails/index.html.haml +++ b/app/views/profiles/emails/index.html.haml @@ -32,12 +32,12 @@ All email addresses will be used to identify your commits. %ul.well-list %li - = render partial: 'shared/email_with_badge', locals: { email: @primary, verified: current_user.confirmed? } + = render partial: 'shared/email_with_badge', locals: { email: @primary_email, verified: current_user.confirmed? } %span.pull-right %span.label.label-success Primary email - - if @primary === current_user.public_email + - if @primary_email === current_user.public_email %span.label.label-info Public email - - if @primary === current_user.notification_email + - if @primary_email === current_user.notification_email %span.label.label-info Notification email - @emails.each do |email| %li |