diff options
Diffstat (limited to 'templates/repo/wiki/view.tmpl')
-rw-r--r-- | templates/repo/wiki/view.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index 93b7c10640..dd2de2a041 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -63,7 +63,7 @@ </div> </div> <div class="eight wide right aligned column"> - {{if and .IsRepositoryWriter (not .Repository.IsMirror)}} + {{if and .CanWriteWiki (not .Repository.IsMirror)}} <div class="ui right"> <a class="ui small button" href="{{.RepoLink}}/wiki/{{.PageURL}}/_edit">{{.i18n.Tr "repo.wiki.edit_page_button"}}</a> <a class="ui green small button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.new_page_button"}}</a> |