diff options
author | Unknwon <u@gogs.io> | 2015-11-15 23:59:39 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-15 23:59:39 -0500 |
commit | 612d0d6d2592c3e34abde42ef254860a0cbc3ce0 (patch) | |
tree | a3d178141cf717e873c7f88ad241dffbc0f4ee1c /templates/repo/release | |
parent | 18de67380c5049d6a4d10cc3f6f8fd80a9ac7a89 (diff) | |
download | gitea-612d0d6d2592c3e34abde42ef254860a0cbc3ce0.tar.gz gitea-612d0d6d2592c3e34abde42ef254860a0cbc3ce0.zip |
minor HTML fix
Diffstat (limited to 'templates/repo/release')
-rw-r--r-- | templates/repo/release/list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 5fb23bdacb..32be1ce022 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -37,7 +37,7 @@ {{if .PublisherID}} <h3> <a href="{{$.RepoLink}}/src/{{.TagName}}">{{.Title}}</a> - <small>(<a href="{{$.RepoLink}}/releases/edit/{{.TagName}}" rel="nofollow">{{$.i18n.Tr "repo.release.edit"}}</a>)</small> + {{if .IsRepositoryAdmin}}<small>(<a href="{{$.RepoLink}}/releases/edit/{{.TagName}}" rel="nofollow">{{$.i18n.Tr "repo.release.edit"}}</a>)</small>{{end}} </h3> <p class="text grey"> <span class="author"> |