From 1968191c523f1ee45e4f7eac75b435df61b75398 Mon Sep 17 00:00:00 2001 From: Clement Ho Date: Fri, 13 Apr 2018 14:37:55 -0500 Subject: [skip ci] label-info => badge-info --- app/views/profiles/emails/index.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/views/profiles') 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' -- cgit v1.2.1