summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_tags/shared/_matching_tag.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/protected_tags/shared/_matching_tag.html.haml')
-rw-r--r--app/views/projects/protected_tags/shared/_matching_tag.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/protected_tags/shared/_matching_tag.html.haml b/app/views/projects/protected_tags/shared/_matching_tag.html.haml
index bf030d36cd6..3b6a6bd876f 100644
--- a/app/views/projects/protected_tags/shared/_matching_tag.html.haml
+++ b/app/views/projects/protected_tags/shared/_matching_tag.html.haml
@@ -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.badge-info.gl-ml-2 default
+ = gl_badge_tag s_('ProtectedTag|default'), { variant: :info }, { class: 'gl-ml-2' }
%td
- commit = @project.commit(matching_tag.name)
= link_to(commit.short_id, project_commit_path(@project, commit.id), class: 'commit-sha')