summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-05 11:46:42 -0500
committerUnknwon <u@gogs.io>2015-12-05 11:46:42 -0500
commitf0ee33267c453cc7f77a87a2b4b784febbb604dd (patch)
treef596885bf10e75a894b53983e51767c25abadc7d /templates
parentf3eaa4c592727481d1e9b089bf93c78575ba739c (diff)
downloadgitea-f0ee33267c453cc7f77a87a2b4b784febbb604dd.tar.gz
gitea-f0ee33267c453cc7f77a87a2b4b784febbb604dd.zip
fix #2102
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/wiki/start.tmpl2
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>