mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 01:05:14 +00:00
Fix new wiki page mirror (#24518)
backport #24395 --------- Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
f979569a3d
commit
7a74957c19
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue