summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki/pages.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/wiki/pages.tmpl')
-rw-r--r--templates/repo/wiki/pages.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl
index 97abf9b543..6169109ce9 100644
--- a/templates/repo/wiki/pages.tmpl
+++ b/templates/repo/wiki/pages.tmpl
@@ -5,7 +5,7 @@
<h2 class="ui header gt-df gt-ac gt-sb">
<span>{{.locale.Tr "repo.wiki.pages"}}</span>
<span>
- {{if and .CanWriteWiki (not .IsRepositoryMirror)}}
+ {{if and .CanWriteWiki (not .Repository.IsMirror)}}
<a class="ui green small button" href="{{.RepoLink}}/wiki?action=_new">{{.locale.Tr "repo.wiki.new_page_button"}}</a>
{{end}}
</span>