We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f594d8 commit 8061447Copy full SHA for 8061447
templates/repo/release/list.tmpl
@@ -9,11 +9,13 @@
9
<span class="release"><strong>{{.i18n.Tr "repo.release.releases"}}</strong></span><!-- /
10
<a class="tag" href="{{AppSubUrl}}/{tag_link}">Tags</a> -->
11
<!-- comment : if in tag page, show a.release and span.tag please -->
12
+ {{if .IsRepositoryAdmin}}
13
<a class="btn" href="{{$.RepoLink}}/releases/new">
14
<button class="btn btn-medium btn-blue btn-radius">
15
{{.i18n.Tr "repo.release.new_release"}}
16
</button>
17
</a>
18
+ {{end}}
19
</h4>
20
<ul id="release-list" class="list-unstyled">
21
{{range .Releases}}
0 commit comments