Commit 2ce21565 authored by wortschi's avatar wortschi

Add Pajamas-complient protected tags badge

Changelog: changed
parent c3e01ac3
......@@ -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')
......
......@@ -28472,6 +28472,9 @@ msgstr ""
msgid "ProtectedTag|What are protected tags?"
msgstr ""
msgid "ProtectedTag|default"
msgstr ""
msgid "Protip: %{linkStart}Auto DevOps%{linkEnd} uses Kubernetes clusters to deploy your code!"
msgstr ""
......
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