[skip ci] label-info => badge-info
This commit is contained in:
parent
5e546f4bc8
commit
1968191c52
10 changed files with 15 additions and 15 deletions
|
@ -3,7 +3,7 @@
|
|||
- if runner.shared?
|
||||
%span.badge.badge-success shared
|
||||
- else
|
||||
%span.badge.label-info specific
|
||||
%span.badge.badge-info specific
|
||||
- if runner.locked?
|
||||
%span.badge.badge-warning locked
|
||||
- unless runner.active?
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
%span.badge.badge-success shared
|
||||
\- Runner runs jobs from all unassigned projects
|
||||
%li
|
||||
%span.badge.label-info specific
|
||||
%span.badge.badge-info specific
|
||||
\- Runner runs jobs from assigned projects
|
||||
%li
|
||||
%span.badge.badge-warning locked
|
||||
|
|
|
@ -35,17 +35,17 @@
|
|||
%span.float-right
|
||||
%span.badge.badge-success Primary email
|
||||
- if @primary_email === current_user.public_email
|
||||
%span.badge.label-info Public email
|
||||
%span.badge.badge-info Public email
|
||||
- if @primary_email === current_user.notification_email
|
||||
%span.badge.label-info Notification email
|
||||
%span.badge.badge-info Notification email
|
||||
- @emails.each do |email|
|
||||
%li
|
||||
= render partial: 'shared/email_with_badge', locals: { email: email.email, verified: email.confirmed? }
|
||||
%span.float-right
|
||||
- if email.email === current_user.public_email
|
||||
%span.badge.label-info Public email
|
||||
%span.badge.badge-info Public email
|
||||
- if email.email === current_user.notification_email
|
||||
%span.badge.label-info Notification email
|
||||
%span.badge.badge-info Notification email
|
||||
- unless email.confirmed?
|
||||
- confirm_title = "#{email.confirmation_sent_at ? 'Resend' : 'Send'} confirmation email"
|
||||
= link_to confirm_title, resend_confirmation_instructions_profile_email_path(email), method: :put, class: 'btn btn-sm btn-warning prepend-left-10'
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
- if branch.name == @repository.root_ref
|
||||
%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 } }
|
||||
%span.badge.badge-info.has-tooltip{ title: s_('Branches|Merged into %{default_branch}') % { default_branch: @repository.root_ref } }
|
||||
= s_('Branches|merged')
|
||||
|
||||
- if protected_branch?(@project, branch)
|
||||
|
|
|
@ -44,11 +44,11 @@
|
|||
%span.badge.badge-primary
|
||||
= tag
|
||||
- if job.try(:trigger_request)
|
||||
%span.badge.label-info triggered
|
||||
%span.badge.badge-info triggered
|
||||
- if job.try(:allow_failure)
|
||||
%span.badge.badge-danger allowed to fail
|
||||
- if job.action?
|
||||
%span.badge.label-info manual
|
||||
%span.badge.badge-info manual
|
||||
|
||||
- if pipeline_link
|
||||
%td
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
- elsif !@merge_request.source_branch_exists?
|
||||
%span.badge.label-inverse= @merge_request.source_branch
|
||||
does not exist in
|
||||
%span.badge.label-info= @merge_request.source_project_path
|
||||
%span.badge.badge-info= @merge_request.source_project_path
|
||||
- elsif !@merge_request.target_branch_exists?
|
||||
%span.badge.label-inverse= @merge_request.target_branch
|
||||
does not exist in
|
||||
%span.badge.label-info= @merge_request.target_project_path
|
||||
%span.badge.badge-info= @merge_request.target_project_path
|
||||
- else
|
||||
of internal error
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
= link_to matching_branch.name, project_ref_path(@project, matching_branch.name), class: 'ref-name'
|
||||
|
||||
- if @project.root_ref?(matching_branch.name)
|
||||
%span.badge.label-info.prepend-left-5 default
|
||||
%span.badge.badge-info.prepend-left-5 default
|
||||
%td
|
||||
- commit = @project.commit(matching_branch.name)
|
||||
= link_to(commit.short_id, project_commit_path(@project, commit.id), class: 'commit-sha')
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
%span.ref-name= protected_branch.name
|
||||
|
||||
- if @project.root_ref?(protected_branch.name)
|
||||
%span.badge.label-info.prepend-left-5 default
|
||||
%span.badge.badge-info.prepend-left-5 default
|
||||
%td
|
||||
- if protected_branch.wildcard?
|
||||
- matching_branches = protected_branch.matching(repository.branches)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
= link_to matching_tag.name, project_ref_path(@project, matching_tag.name), class: 'ref-name'
|
||||
|
||||
- if @project.root_ref?(matching_tag.name)
|
||||
%span.badge.label-info.prepend-left-5 default
|
||||
%span.badge.badge-info.prepend-left-5 default
|
||||
%td
|
||||
- commit = @project.commit(matching_tag.name)
|
||||
= link_to(commit.short_id, project_commit_path(@project, commit.id), class: 'commit-sha')
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
%span.ref-name= protected_tag.name
|
||||
|
||||
- if @project.root_ref?(protected_tag.name)
|
||||
%span.badge.label-info.prepend-left-5 default
|
||||
%span.badge.badge-info.prepend-left-5 default
|
||||
%td
|
||||
- if protected_tag.wildcard?
|
||||
- matching_tags = protected_tag.matching(repository.tags)
|
||||
|
|
Loading…
Reference in a new issue