diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-05-04 15:27:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 15:27:15 +0800 |
commit | b1cee3fa3bbe9e54c3ced95fa9a38caa5b3494b9 (patch) | |
tree | 7db697eaf035465e8fa1ec65a23c4356aebeb308 /templates/repo/settings | |
parent | 5d77691d428d5302ee4df6c2a936b8e2ea9dca7e (diff) | |
download | gitea-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.tmpl | 2 |
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> |