Commit ed696df5 authored by Clement Ho's avatar Clement Ho

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

parent 4f6e6a24
......@@ -27,7 +27,7 @@
#{runner.builds.count(:all)}
%td
- runner.tag_list.sort.each do |tag|
%span.badge.label-primary
%span.badge.badge-primary
= tag
%td
- if runner.contacted_at
......
......@@ -13,7 +13,7 @@
= branch.name
 
- if branch.name == @repository.root_ref
%span.badge.label-primary default
%span.badge.badge-primary default
- elsif merged
%span.badge.label-info.has-tooltip{ title: s_('Branches|Merged into %{default_branch}') % { default_branch: @repository.root_ref } }
= s_('Branches|merged')
......
......@@ -41,7 +41,7 @@
.label-container
- if job.tags.any?
- job.tags.each do |tag|
%span.badge.label-primary
%span.badge.badge-primary
= tag
- if job.try(:trigger_request)
%span.badge.label-info triggered
......
......@@ -35,7 +35,7 @@
.label-container
- if generic_commit_status.tags.any?
- generic_commit_status.tags.each do |tag|
%span.badge.label-primary
%span.badge.badge-primary
= tag
- if retried
%span.badge.badge-warning retried
......
......@@ -15,7 +15,7 @@
- elsif @build.tags.any?
This job is stuck, because you don't have any active runners online with any of these tags assigned to them:
- @build.tags.each do |tag|
%span.badge.label-primary
%span.badge.badge-primary
= tag
- else
This job is stuck, because you don't have any active runners that can run this job.
......
......@@ -39,5 +39,5 @@
- if runner.tag_list.present?
%p
- runner.tag_list.sort.each do |tag|
%span.badge.label-primary
%span.badge.badge-primary
= tag
......@@ -32,7 +32,7 @@
%td Tags
%td
- @runner.tag_list.sort.each do |tag|
%span.badge.label-primary
%span.badge.badge-primary
= tag
%tr
%td Name
......
%p.append-bottom-default
Triggers with the
%span.badge.label-primary legacy
%span.badge.badge-primary legacy
label do not have an associated user and only have access to the current project.
%br
= succeed '.' do
......
......@@ -8,7 +8,7 @@
.label-container
- if trigger.legacy?
%span.badge.label-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?
%span.badge.label-danger.has-tooltip{ title: "Trigger user has insufficient permissions to project" } invalid
......
......@@ -3,7 +3,7 @@
= link_to [merge_request.target_project.namespace.becomes(Namespace), merge_request.target_project, merge_request] do
%span.term.str-truncated= merge_request.title
- if merge_request.merged?
%span.badge.label-primary.prepend-left-5 Merged
%span.badge.badge-primary.prepend-left-5 Merged
- elsif merge_request.closed?
%span.badge.label-danger.prepend-left-5 Closed
.float-right= merge_request.to_reference
......
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