diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-12 22:30:00 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-12 22:30:00 -0400 |
commit | c9a1eb4789d5142090d4936e19ac36b6c2010bd3 (patch) | |
tree | f1a6494a26522f85f67690ba176e2e48ef98b9d4 /templates | |
parent | 52b4ab2aa589cf892b24e95872cbac7b6e78ed3a (diff) | |
download | gitea-c9a1eb4789d5142090d4936e19ac36b6c2010bd3.tar.gz gitea-c9a1eb4789d5142090d4936e19ac36b6c2010bd3.zip |
Able to change mirror interval now
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/setting.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/repo/setting.tmpl b/templates/repo/setting.tmpl index ff3b73b59a..5572671c93 100644 --- a/templates/repo/setting.tmpl +++ b/templates/repo/setting.tmpl @@ -46,7 +46,7 @@ <hr> <div class="form-group"> <label class="col-md-3 text-right">Default Branch</label> - <div class="col-md-9"> + <div class="col-md-3"> <select name="branch" id="repo-default-branch" class="form-control"> <option value="{{.Repository.DefaultBranch}}">{{.Repository.DefaultBranch}}</option> {{range .Branches}} @@ -56,6 +56,13 @@ </div> </div> + {{if .Repository.IsMirror}}<div class="form-group"> + <label class="col-md-3 text-right">Mirror Interval(hours)</label> + <div class="col-md-3"> + <input class="form-control" name="interval" value="{{.MirrorInterval}}"/> + </div> + </div>{{end}} + <div class="form-group"> <div class="col-md-offset-3 col-md-9"> <div class="checkbox"> |