diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 9d3a3e8061..5f7c426877 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -7,7 +7,7 @@ {{.locale.Tr "repo.wiki.pages"}}
- {{if and .CanWriteWiki (not .IsRepositoryMirror)}} + {{if and .CanWriteWiki (not .Repository.IsMirror)}} {{.locale.Tr "repo.wiki.new_page_button"}} {{end}}