summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-05-04 15:27:15 +0800
committerGitHub <noreply@github.com>2023-05-04 15:27:15 +0800
commitb1cee3fa3bbe9e54c3ced95fa9a38caa5b3494b9 (patch)
tree7db697eaf035465e8fa1ec65a23c4356aebeb308 /templates/repo/settings
parent5d77691d428d5302ee4df6c2a936b8e2ea9dca7e (diff)
downloadgitea-b1cee3fa3bbe9e54c3ced95fa9a38caa5b3494b9.tar.gz
gitea-b1cee3fa3bbe9e54c3ced95fa9a38caa5b3494b9.zip
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.
Diffstat (limited to 'templates/repo/settings')
-rw-r--r--templates/repo/settings/options.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index 688d00bd72..cd2854c062 100644
--- a/templates/repo/settings/options.tmpl
+++ b/templates/repo/settings/options.tmpl
@@ -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>