2
0
Fork 0
mirror of https://github.com/Th3Whit3Wolf/Space-Gitea synced 2024-05-04 19:16:09 +02:00

Fix repo header template

This commit is contained in:
John Olheiser 2020-04-26 12:00:13 -05:00 committed by GitHub
parent d57967d33f
commit 8c6829ade8
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@
{{if and (.Permission.CanRead $.UnitTypeReleases) (not .IsEmptyRepo) }} {{if and (.Permission.CanRead $.UnitTypeReleases) (not .IsEmptyRepo) }}
<a class="item {{if .PageIsReleaseList}}acty{{end}}" href="{{.RepoLink}}/releases"> <a class="item {{if .PageIsReleaseList}}acty{{end}}" href="{{.RepoLink}}/releases">
{{svg "octicon-tag" 16}} {{.i18n.Tr "repo.releases"}} <span class="ui {{if not .Repository.NumReleases}}gray{{else}}blue{{end}} small label">{{.Repository.NumReleases}}</span> {{svg "octicon-tag" 16}} {{.i18n.Tr "repo.releases"}} <span class="ui {{if not .NumReleases}}gray{{else}}blue{{end}} small label">{{.NumReleases}}</span>
</a> </a>
{{end}} {{end}}
@ -140,4 +140,4 @@
{{end}} {{end}}
</div> </div>
<div class="ui tabs divider"></div> <div class="ui tabs divider"></div>
</div> </div>