diff options
Diffstat (limited to 'templates/repo/wiki/pages.tmpl')
-rw-r--r-- | templates/repo/wiki/pages.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 2829b61374..61903423f3 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -4,7 +4,7 @@ <div class="ui container"> <div class="ui header"> {{.i18n.Tr "repo.wiki.pages"}} - {{if and .IsRepositoryWriter (not .IsRepositoryMirror)}} + {{if and .CanWriteWiki (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> |