mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 20:17:03 +01:00
#1114 'New Release' always visible
This commit is contained in:
parent
5f594d8774
commit
8061447f0e
1 changed files with 2 additions and 0 deletions
|
@ -9,11 +9,13 @@
|
|||
<span class="release"><strong>{{.i18n.Tr "repo.release.releases"}}</strong></span><!-- /
|
||||
<a class="tag" href="{{AppSubUrl}}/{tag_link}">Tags</a> -->
|
||||
<!-- comment : if in tag page, show a.release and span.tag please -->
|
||||
{{if .IsRepositoryAdmin}}
|
||||
<a class="btn" href="{{$.RepoLink}}/releases/new">
|
||||
<button class="btn btn-medium btn-blue btn-radius">
|
||||
{{.i18n.Tr "repo.release.new_release"}}
|
||||
</button>
|
||||
</a>
|
||||
{{end}}
|
||||
</h4>
|
||||
<ul id="release-list" class="list-unstyled">
|
||||
{{range .Releases}}
|
||||
|
|
Loading…
Reference in a new issue