[skip ci] Convert label-success to badge-success

This commit is contained in:
Clement Ho 2018-04-13 14:36:22 -05:00
parent ed696df59d
commit e3de2ab1b5
11 changed files with 11 additions and 11 deletions

View File

@ -1,7 +1,7 @@
%tr{ id: dom_id(runner) }
%td
- if runner.shared?
%span.badge.label-success shared
%span.badge.badge-success shared
- else
%span.badge.label-info specific
- if runner.locked?

View File

@ -14,7 +14,7 @@
%span Each Runner can be in one of the following states:
%ul
%li
%span.badge.label-success shared
%span.badge.badge-success shared
\- Runner runs jobs from all unassigned projects
%li
%span.badge.label-info specific

View File

@ -7,7 +7,7 @@
- if user.blocked?
%span.badge.label-danger blocked
- if user.admin?
%span.badge.label-success Admin
%span.badge.badge-success Admin
- if user.external?
%span.badge.label-default External
- if user == current_user

View File

@ -33,7 +33,7 @@
%li
= render partial: 'shared/email_with_badge', locals: { email: @primary_email, verified: current_user.confirmed? }
%span.float-right
%span.badge.label-success Primary email
%span.badge.badge-success Primary email
- if @primary_email === current_user.public_email
%span.badge.label-info Public email
- if @primary_email === current_user.notification_email

View File

@ -19,7 +19,7 @@
= s_('Branches|merged')
- if protected_branch?(@project, branch)
%span.badge.label-success
%span.badge.badge-success
= s_('Branches|protected')
.block-truncated

View File

@ -43,7 +43,7 @@
%td
= form_tag verify_project_pages_domain_path(@project, @domain) do
.status-badge
- text, status = @domain.unverified? ? [_('Unverified'), 'label-danger'] : [_('Verified'), 'label-success']
- text, status = @domain.unverified? ? [_('Unverified'), 'label-danger'] : [_('Verified'), 'badge-success']
.label{ class: status }
= text
%button.btn.has-tooltip{ type: "submit", data: { container: 'body' }, title: _("Retry verification") }

View File

@ -9,7 +9,7 @@
%div
%ul
%li
%span.badge.label-success active
%span.badge.badge-success active
\- Runner is active and can process any new jobs
%li
%span.badge.label-danger paused

View File

@ -6,7 +6,7 @@
= link_to tag.name, project_tag_path(@project, tag.name), class: 'item-title ref-name prepend-left-4'
- if protected_tag?(@project, tag)
%span.badge.label-success.prepend-left-4
%span.badge.badge-success.prepend-left-4
= s_('TagsPage|protected')
- if tag.message.present?

View File

@ -11,7 +11,7 @@
= icon('tag')
= @tag.name
- if protected_tag?(@project, @tag)
%span.badge.label-success
%span.badge.badge-success
= s_('TagsPage|protected')
- if @commit
= render 'projects/branches/commit', commit: @commit, project: @project

View File

@ -1,3 +1,3 @@
- label_status = hook_log.success? ? 'label-success' : 'label-danger'
- label_status = hook_log.success? ? 'badge-success' : 'label-danger'
%span{ class: "label #{label_status}" }
= hook_log.response_status

View File

@ -14,7 +14,7 @@
%span.cgray= user.to_reference
- if user == current_user
%span.badge.label-success.prepend-left-5 It's you
%span.badge.badge-success.prepend-left-5 It's you
- if user.blocked?
%label.badge.label-danger