Skip to content

Commit

Permalink
#1114 'New Release' always visible
Browse files Browse the repository at this point in the history
  • Loading branch information
unknwon committed Mar 24, 2015
1 parent 5f594d8 commit 8061447
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/repo/release/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 8061447

Please sign in to comment.