mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Don't display creating page button in a mirror wiki repository (#24395)
A mirror repository with wiki is also a mirror. So creating page from UI should be disabled. This PR hides the button like other places.
This commit is contained in:
@@ -153,7 +153,7 @@
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="field">
|
||||
<button class="ui green button">{{$.locale.Tr "repo.settings.update_settings"}}</button>
|
||||
<button class="ui green button">{{$.locale.Tr "repo.settings.update_mirror_settings"}}</button>
|
||||
</div>
|
||||
</form>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user