Browse Source

mirror: does not allow create releases

pull/3854/merge
Unknwon 8 years ago
parent
commit
7d80c5a722
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 2
      templates/repo/release/list.tmpl

2
templates/repo/release/list.tmpl

@ -5,7 +5,7 @@
{{template "base/alert" .}}
<h2 class="ui header">
{{.i18n.Tr "repo.release.releases"}}
{{if .IsRepositoryWriter}}
{{if and .IsRepositoryWriter (not .Repository.IsMirror)}}
<div class="ui right">
<a class="ui small green button" href="{{$.RepoLink}}/releases/new">
{{.i18n.Tr "repo.release.new_release"}}

Loading…
Cancel
Save