Commit e3de2ab1 authored by Clement Ho's avatar Clement Ho

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

parent ed696df5
%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?
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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") }
......
......@@ -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
......
......@@ -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?
......
......@@ -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
......
- 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
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment