diff options
author | Unknwon <u@gogs.io> | 2015-12-05 11:46:42 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-05 11:46:42 -0500 |
commit | f0ee33267c453cc7f77a87a2b4b784febbb604dd (patch) | |
tree | f596885bf10e75a894b53983e51767c25abadc7d /templates | |
parent | f3eaa4c592727481d1e9b089bf93c78575ba739c (diff) | |
download | gitea-f0ee33267c453cc7f77a87a2b4b784febbb604dd.tar.gz gitea-f0ee33267c453cc7f77a87a2b4b784febbb604dd.zip |
fix #2102
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/wiki/start.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/start.tmpl b/templates/repo/wiki/start.tmpl index babc329336..8174323dcd 100644 --- a/templates/repo/wiki/start.tmpl +++ b/templates/repo/wiki/start.tmpl @@ -6,7 +6,7 @@ <span class="mega-octicon octicon-book"></span> <h2>{{.i18n.Tr "repo.wiki.welcome"}}</h2> <p>{{.i18n.Tr "repo.wiki.welcome_desc"}}</p> - {{if .IsSigned}} + {{if .IsRepositoryPusher}} <a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a> {{end}} </div> |