diff options
author | Jonas <cez81@users.noreply.github.com> | 2017-04-08 17:27:26 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-04-08 23:27:26 +0800 |
commit | 54f0293f0ab73f357f545f8e05d16f9b254aba5e (patch) | |
tree | b95f86dd93e7c74cada06a919d7f790c2ca1d083 /templates/repo/settings/options.tmpl | |
parent | edbb9eefd6c12d6c67bf864539a51f5a09c7d670 (diff) | |
download | gitea-54f0293f0ab73f357f545f8e05d16f9b254aba5e.tar.gz gitea-54f0293f0ab73f357f545f8e05d16f9b254aba5e.zip |
Mirror sync interval specified as duration string (#1407)
* Sync interval specifed as duration string
* Changed mirror interval text
* make fmt
* Add MinInterval for mirror sync
* Use duration internally
* Changed min default to 10m
* make fmt
* Incorrect default
* Removed defaults in MustDuration()
* Add Mirror interval migration
* Default values corrected
* Use transaction during migration
* Change http 500 to page with error message
* Cleanup session.commit()
Diffstat (limited to 'templates/repo/settings/options.tmpl')
-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 dbe7d81f84..8ad09d4306 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -56,7 +56,7 @@ </div> <div class="inline field {{if .Err_Interval}}error{{end}}"> <label for="interval">{{.i18n.Tr "repo.mirror_interval"}}</label> - <input id="interval" name="interval" type="number" value="{{.MirrorInterval}}"> + <input id="interval" name="interval" value="{{.MirrorInterval}}"> </div> <div class="field"> <label for="mirror_address">{{.i18n.Tr "repo.mirror_address"}}</label> |