Commit ed696df5 authored by Clement Ho's avatar Clement Ho

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

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