diff options
Diffstat (limited to 'templates/repo/wiki/pages.tmpl')
-rw-r--r-- | templates/repo/wiki/pages.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 1cfbddce5a..123e65bc23 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -4,9 +4,11 @@ <div class="ui container"> <div class="ui header"> {{.i18n.Tr "repo.wiki.pages"}} + {{if and .IsRepositoryWriter (not .IsRepositoryMirror)}} <div class="ui right"> <a class="ui green small button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.new_page_button"}}</a> </div> + {{end}} </div> <table class="ui table"> <tbody> |