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…
x
Reference in New Issue
Block a user