Skip to content

Commit 826afa1

Browse files
committed
Fix unsupported compare
1 parent dd2f4b3 commit 826afa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/release/list.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<a href="{{AppSubUrl}}/{{.Publisher.Name}}">{{.Publisher.Name}}</a>
100100
</span>
101101
{{ end }}
102-
<span class="ahead"><a href="{{$.RepoLink}}/compare/{{.TagName | EscapePound}}{{if .Target}}...{{.Target}}{{end}}">{{$.i18n.Tr "repo.release.ahead.commits" .NumCommitsBehind | Str2html}}</a> {{$.i18n.Tr "repo.release.ahead.target" $.DefaultBranch}}</span>
102+
<span class="ahead"><a href="{{$.RepoLink}}/compare/{{.TagName | EscapePound}}{{if .Target}}...{{.Target}}{{else}}{{$.DefaultBranch}}{{end}}">{{$.i18n.Tr "repo.release.ahead.commits" .NumCommitsBehind | Str2html}}</a> {{$.i18n.Tr "repo.release.ahead.target" $.DefaultBranch}}</span>
103103
</p>
104104
<div class="download">
105105
{{if $.Permission.CanRead $.UnitTypeCode}}

0 commit comments

Comments
 (0)