summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki/start.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/wiki/start.tmpl')
-rw-r--r--templates/repo/wiki/start.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/start.tmpl b/templates/repo/wiki/start.tmpl
index 674199198c..1b8d52a587 100644
--- a/templates/repo/wiki/start.tmpl
+++ b/templates/repo/wiki/start.tmpl
@@ -6,7 +6,7 @@
<span class="mega-octicon octicon-book"></span>
<h2>{{.i18n.Tr "repo.wiki.welcome"}}</h2>
<p>{{.i18n.Tr "repo.wiki.welcome_desc"}}</p>
- {{if and .IsRepositoryWriter (not .IsRepositoryMirror)}}
+ {{if and .IsRepositoryWriter (not .Repository.IsMirror)}}
<a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a>
{{end}}
</div>