|
|
@@ -46,6 +46,15 @@
|
|
|
</div>
|
|
|
{{end}}
|
|
|
|
|
|
+ {{if .IsAdmin}}
|
|
|
+ <div class="inline field">
|
|
|
+ <div class="ui checkbox">
|
|
|
+ <input name="is_verified" type="checkbox" {{if .Repository.IsVerified}}checked{{end}}>
|
|
|
+ <label><strong>This Repository is Verified</strong></label>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ {{end}}
|
|
|
+
|
|
|
<div class="field">
|
|
|
<button class="ui green button">{{$.i18n.Tr "repo.settings.update_settings"}}</button>
|
|
|
</div>
|
|
|
@@ -75,10 +84,10 @@
|
|
|
{{.CSRFTokenHTML}}
|
|
|
<input type="hidden" name="action" value="mirror">
|
|
|
<div class="inline field {{if .Err_EnablePrune}}error{{end}}">
|
|
|
- <label>{{.i18n.Tr "repo.mirror_prune"}}</label>
|
|
|
+ <label>{{.i18n.Tr "repo.mirror_prune"}}</label>
|
|
|
<div class="ui checkbox">
|
|
|
- <input id="enable_prune" name="enable_prune" type="checkbox" {{if .MirrorEnablePrune}}checked{{end}}>
|
|
|
- <label>{{.i18n.Tr "repo.mirror_prune_desc"}}</label>
|
|
|
+ <input id="enable_prune" name="enable_prune" type="checkbox" {{if .MirrorEnablePrune}}checked{{end}}>
|
|
|
+ <label>{{.i18n.Tr "repo.mirror_prune_desc"}}</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="inline field {{if .Err_Interval}}error{{end}}">
|