2
0
Fork 0
mirror of https://github.com/Th3Whit3Wolf/Space-Gitea synced 2024-04-25 10:45:02 +02:00

Merge pull request #1 from jolheiser/patch-1

Fix repo header template
This commit is contained in:
David Karrick 2020-05-02 08:23:02 +00:00 committed by GitHub
commit 8885ae0db3
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@
{{if and (.Permission.CanRead $.UnitTypeReleases) (not .IsEmptyRepo) }}
<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>
{{end}}
@ -140,4 +140,4 @@
{{end}}
</div>
<div class="ui tabs divider"></div>
</div>
</div>