Skip to content

Commit

Permalink
Fix new wiki page mirror (#24518)
Browse files Browse the repository at this point in the history
backport #24395

---------

Co-authored-by: Giteabot <teabot@gitea.io>
  • Loading branch information
lunny and GiteaBot authored May 4, 2023
1 parent f979569 commit 7a74957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/wiki/pages.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 7a74957

Please sign in to comment.