summaryrefslogtreecommitdiffstats
path: root/templates/repo/setting.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/setting.tmpl')
-rw-r--r--templates/repo/setting.tmpl9
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">