Fix new wiki page mirror (#24518)

backport #24395

---------

Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
Lunny XiaoandGiteabot authored and GitHub committed 2023-05-04 16:30:47 -04:00
1 parent f979569a3d
commit 7a74957c19
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@
{{.locale.Tr "repo.wiki.pages"}}
</div>
<div>
{{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}}
</div>