Commit 5e546f4b authored by Clement Ho's avatar Clement Ho

[skip ci] label-danger => badge-danger

parent e3de2ab1
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- if runner.locked? - if runner.locked?
%span.badge.badge-warning locked %span.badge.badge-warning locked
- unless runner.active? - unless runner.active?
%span.badge.label-danger paused %span.badge.badge-danger paused
%td %td
= link_to admin_runner_path(runner) do = link_to admin_runner_path(runner) do
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
%span.badge.badge-warning locked %span.badge.badge-warning locked
\- Runner cannot be assigned to other projects \- Runner cannot be assigned to other projects
%li %li
%span.badge.label-danger paused %span.badge.badge-danger paused
\- Runner will not receive any new jobs \- Runner will not receive any new jobs
.bs-callout.clearfix .bs-callout.clearfix
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
.user-name.row-title.str-truncated-100 .user-name.row-title.str-truncated-100
= link_to user.name, [:admin, user] = link_to user.name, [:admin, user]
- if user.blocked? - if user.blocked?
%span.badge.label-danger blocked %span.badge.badge-danger blocked
- if user.admin? - if user.admin?
%span.badge.badge-success Admin %span.badge.badge-success Admin
- if user.external? - if user.external?
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
= link_to repo.full_name, "https://bitbucket.org/#{repo.full_name}", target: '_blank', rel: 'noopener noreferrer' = link_to repo.full_name, "https://bitbucket.org/#{repo.full_name}", target: '_blank', rel: 'noopener noreferrer'
%td.import-target %td.import-target
%td.import-actions-job-status %td.import-actions-job-status
= label_tag 'Incompatible Project', nil, class: 'label label-danger' = label_tag 'Incompatible Project', nil, class: 'label badge-danger'
- if @incompatible_repos.any? - if @incompatible_repos.any?
%p %p
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
= link_to repo.name, "https://code.google.com/p/#{repo.name}", target: "_blank", rel: 'noopener noreferrer' = link_to repo.name, "https://code.google.com/p/#{repo.name}", target: "_blank", rel: 'noopener noreferrer'
%td.import-target %td.import-target
%td.import-actions-job-status %td.import-actions-job-status
= label_tag "Incompatible Project", nil, class: "label label-danger" = label_tag "Incompatible Project", nil, class: "label badge-danger"
- if @incompatible_repos.any? - if @incompatible_repos.any?
%p %p
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
- if job.try(:trigger_request) - if job.try(:trigger_request)
%span.badge.label-info triggered %span.badge.label-info triggered
- if job.try(:allow_failure) - if job.try(:allow_failure)
%span.badge.label-danger allowed to fail %span.badge.badge-danger allowed to fail
- if job.action? - if job.action?
%span.badge.label-info manual %span.badge.label-info manual
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
%p %p
%span.badge.label-gray Certificate: #{domain.subject} %span.badge.label-gray Certificate: #{domain.subject}
- if domain.expired? - if domain.expired?
%span.badge.label-danger Expired %span.badge.badge-danger Expired
%div %div
= link_to 'Details', project_pages_domain_path(@project, domain), class: "btn btn-sm btn-grouped" = link_to 'Details', project_pages_domain_path(@project, domain), class: "btn btn-sm btn-grouped"
= link_to 'Remove', project_pages_domain_path(@project, domain), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove btn-sm btn-grouped" = link_to 'Remove', project_pages_domain_path(@project, domain), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove btn-sm btn-grouped"
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
%td %td
= form_tag verify_project_pages_domain_path(@project, @domain) do = form_tag verify_project_pages_domain_path(@project, @domain) do
.status-badge .status-badge
- text, status = @domain.unverified? ? [_('Unverified'), 'label-danger'] : [_('Verified'), 'badge-success'] - text, status = @domain.unverified? ? [_('Unverified'), 'badge-danger'] : [_('Verified'), 'badge-success']
.label{ class: status } .label{ class: status }
= text = text
%button.btn.has-tooltip{ type: "submit", data: { container: 'body' }, title: _("Retry verification") } %button.btn.has-tooltip{ type: "submit", data: { container: 'body' }, title: _("Retry verification") }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
%span.badge.badge-success active %span.badge.badge-success active
\- Runner is active and can process any new jobs \- Runner is active and can process any new jobs
%li %li
%span.badge.label-danger paused %span.badge.badge-danger paused
\- Runner is paused and will not receive any new jobs \- Runner is paused and will not receive any new jobs
%hr %hr
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
- if trigger.legacy? - if trigger.legacy?
%span.badge.badge-primary.has-tooltip{ title: "Trigger makes use of deprecated functionality" } legacy %span.badge.badge-primary.has-tooltip{ title: "Trigger makes use of deprecated functionality" } legacy
- if !trigger.can_access_project? - if !trigger.can_access_project?
%span.badge.label-danger.has-tooltip{ title: "Trigger user has insufficient permissions to project" } invalid %span.badge.badge-danger.has-tooltip{ title: "Trigger user has insufficient permissions to project" } invalid
%td %td
- if trigger.description? && trigger.description.length > 15 - if trigger.description? && trigger.description.length > 15
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
= link_to [issue.project.namespace.becomes(Namespace), issue.project, issue] do = link_to [issue.project.namespace.becomes(Namespace), issue.project, issue] do
%span.term.str-truncated= issue.title %span.term.str-truncated= issue.title
- if issue.closed? - if issue.closed?
%span.badge.label-danger.prepend-left-5 Closed %span.badge.badge-danger.prepend-left-5 Closed
.float-right ##{issue.iid} .float-right ##{issue.iid}
- if issue.description.present? - if issue.description.present?
.description.term .description.term
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
- if merge_request.merged? - if merge_request.merged?
%span.badge.badge-primary.prepend-left-5 Merged %span.badge.badge-primary.prepend-left-5 Merged
- elsif merge_request.closed? - elsif merge_request.closed?
%span.badge.label-danger.prepend-left-5 Closed %span.badge.badge-danger.prepend-left-5 Closed
.float-right= merge_request.to_reference .float-right= merge_request.to_reference
- if merge_request.description.present? - if merge_request.description.present?
.description.term .description.term
......
- label_status = hook_log.success? ? 'badge-success' : 'label-danger' - label_status = hook_log.success? ? 'badge-success' : 'badge-danger'
%span{ class: "label #{label_status}" } %span{ class: "label #{label_status}" }
= hook_log.response_status = hook_log.response_status
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
%span.badge.badge-success.prepend-left-5 It's you %span.badge.badge-success.prepend-left-5 It's you
- if user.blocked? - if user.blocked?
%label.badge.label-danger %label.badge.badge-danger
%strong Blocked %strong Blocked
- if source.instance_of?(Group) && source != @group - if source.instance_of?(Group) && source != @group
......
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