Fix new wiki page mirror (#24518)
backport #24395 --------- Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
f979569a3d
commit
7a74957c19
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
{{.locale.Tr "repo.wiki.pages"}}
|
{{.locale.Tr "repo.wiki.pages"}}
|
||||||
</div>
|
</div>
|
||||||
<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>
|
<a class="ui green small button" href="{{.RepoLink}}/wiki?action=_new">{{.locale.Tr "repo.wiki.new_page_button"}}</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue