diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-05-24 22:28:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-24 22:28:53 +0800 |
commit | 3623f12a28e93b9bd367791fac0ca1fdd56f4e51 (patch) | |
tree | 25d1d0cbea814df695ea6f6ceba3456c819aedd7 | |
parent | 11da1e61468fcf737dbbaa831107023a38c8ff21 (diff) | |
download | gitea-3623f12a28e93b9bd367791fac0ca1fdd56f4e51.tar.gz gitea-3623f12a28e93b9bd367791fac0ca1fdd56f4e51.zip |
fix writer cannot read bare repo guide (#4033)
-rw-r--r-- | templates/repo/bare.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/bare.tmpl b/templates/repo/bare.tmpl index bd37228ad1..f1e1d58542 100644 --- a/templates/repo/bare.tmpl +++ b/templates/repo/bare.tmpl @@ -5,7 +5,7 @@ <div class="ui grid"> <div class="sixteen wide column content"> {{template "base/alert" .}} - {{if .IsRepositoryAdmin}} + {{if .IsRepositoryWriter}} <h4 class="ui top attached header"> {{.i18n.Tr "repo.quick_guide"}} </h4> |