1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 06:04:56 +01:00
gitea/templates/repo/settings
zeripath d8236f1b16
Ensure minimum mirror interval is reported on settings page (#19895)
* Ensure minimum mirror interval is reported on settings page

Expecting users to guess the minimum mirror interval appears a little unkind.
In this PR we simply change the locale string to include the minimum interval.
This will of course be affected by our current localization framework but...
we can fix that else where.

This PR also includes some fixes for error handling on the settings page as
previously the mirror block amongst others would simply disappear on error.

Fix #3737

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update options/locale/locale_en-US.ini

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* placate lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update options/locale/locale_en-US.ini

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-06-07 13:40:12 -04:00
..
webhook Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
branches.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
collaboration.tmpl Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861) 2022-06-03 17:38:26 -04:00
deploy_keys.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
githook_edit.tmpl
githooks.tmpl
lfs_file_find.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
lfs_file.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
lfs_locks.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
lfs_pointers.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
lfs.tmpl
nav.tmpl
navbar.tmpl
options.tmpl Ensure minimum mirror interval is reported on settings page (#19895) 2022-06-07 13:40:12 -04:00
protected_branch.tmpl
tags.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00