summaryrefslogtreecommitdiff
path: root/app/views/profiles
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-13 14:37:55 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-13 14:37:55 -0500
commit1968191c523f1ee45e4f7eac75b435df61b75398 (patch)
treea4d8ef2ee6352cd89e0629affef010fd19bc429b /app/views/profiles
parent5e546f4bc8737319fee2a61a2ce2fc9340e40337 (diff)
downloadgitlab-ce-1968191c523f1ee45e4f7eac75b435df61b75398.tar.gz
[skip ci] label-info => badge-info
Diffstat (limited to 'app/views/profiles')
-rw-r--r--app/views/profiles/emails/index.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/profiles/emails/index.html.haml b/app/views/profiles/emails/index.html.haml
index 917d7247492..914bd4eb57c 100644
--- a/app/views/profiles/emails/index.html.haml
+++ b/app/views/profiles/emails/index.html.haml
@@ -35,17 +35,17 @@
%span.float-right
%span.badge.badge-success Primary email
- if @primary_email === current_user.public_email
- %span.badge.label-info Public email
+ %span.badge.badge-info Public email
- if @primary_email === current_user.notification_email
- %span.badge.label-info Notification email
+ %span.badge.badge-info Notification email
- @emails.each do |email|
%li
= render partial: 'shared/email_with_badge', locals: { email: email.email, verified: email.confirmed? }
%span.float-right
- if email.email === current_user.public_email
- %span.badge.label-info Public email
+ %span.badge.badge-info Public email
- if email.email === current_user.notification_email
- %span.badge.label-info Notification email
+ %span.badge.badge-info Notification email
- unless email.confirmed?
- confirm_title = "#{email.confirmation_sent_at ? 'Resend' : 'Send'} confirmation email"
= link_to confirm_title, resend_confirmation_instructions_profile_email_path(email), method: :put, class: 'btn btn-sm btn-warning prepend-left-10'