File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 73
73
<pre class="commit-body tw-hidden">{{RenderCommitBody $.Context .Message ($.Repository.ComposeMetas ctx)}}</pre>
74
74
{{end}}
75
75
{{range (index $.CommitsTagsMap .ID.String)}}
76
- {{- template "repo/tag/name" dict "RepoFullName " $.Repository.FullName "TagName" .TagName "IsRelease" (not .IsTag) -}}
76
+ {{- template "repo/tag/name" dict "RepoLink " $.Repository.Link "TagName" .TagName "IsRelease" (not .IsTag) -}}
77
77
{{end}}
78
78
</td>
79
79
{{if .Committer}}
Original file line number Diff line number Diff line change 42
42
</a>
43
43
{{end}}
44
44
{{else if eq $refGroup "tags"}}
45
- <a class="ui labelled basic tiny button" href="{{$.RepoLink}}/src/tag/{{.ShortName|PathEscape}}">
46
- {{svg "octicon-tag"}} {{.ShortName}}
47
- </a>
45
+ {{- template "repo/tag/name" dict "RepoLink" $.Repository.Link "TagName" .ShortName -}}
48
46
{{else if eq $refGroup "remotes"}}
49
47
<a class="ui labelled basic tiny button" href="{{$.RepoLink}}/src/commit/{{$commit.Rev|PathEscape}}">
50
48
{{svg "octicon-cross-reference"}} {{.ShortName}}
Original file line number Diff line number Diff line change 1
- <a href="/{{.RepoFullName}}/releases/tag/{{.TagName}}"><span class="ui label{{if .IsRelease}} primary{{end}}">{{.TagName}}</span></a>
1
+ <a class="ui label basic tiny button{{if .IsRelease}} primary{{end}}" href="{{.RepoLink}}/src/tag/{{.TagName|PathEscape}}">
2
+ {{svg "octicon-tag"}} {{.TagName}}
3
+ </a>
You can’t perform that action at this time.
0 commit comments