Skip to content

Commit 7a74957

Browse files
lunnyGiteaBot
andauthored
Fix new wiki page mirror (#24518)
backport #24395 --------- Co-authored-by: Giteabot <teabot@gitea.io>
1 parent f979569 commit 7a74957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/wiki/pages.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{.locale.Tr "repo.wiki.pages"}}
88
</div>
99
<div>
10-
{{if and .CanWriteWiki (not .IsRepositoryMirror)}}
10+
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
1111
<a class="ui green small button" href="{{.RepoLink}}/wiki?action=_new">{{.locale.Tr "repo.wiki.new_page_button"}}</a>
1212
{{end}}
1313
</div>

0 commit comments

Comments
 (0)