We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b824a5 commit 14475e9Copy full SHA for 14475e9
templates/repo/commits_list.tmpl
@@ -73,7 +73,7 @@
73
<pre class="commit-body tw-hidden">{{RenderCommitBody $.Context .Message ($.Repository.ComposeMetas ctx)}}</pre>
74
{{end}}
75
{{range (index $.CommitsTagsMap .ID.String)}}
76
- <span class="ui label">{{.TagName}}</span>
+ {{- template "repo/tag/name" dict "RepoFullName" $.Repository.FullName "TagName" .TagName "IsRelease" (not .IsTag) -}}
77
78
</td>
79
{{if .Committer}}
templates/repo/tag/name.tmpl
@@ -0,0 +1 @@
1
+<a href="/{{.RepoFullName}}/releases/tag/{{.TagName}}"><span class="ui label{{if .IsRelease}} primary{{end}}">{{.TagName}}</span></a>
0 commit comments