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