Browse Source

创建模板时增加协议

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/2480/head
zouap 2 years ago
parent
commit
a533fd4eb2
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      templates/repo/create.tmpl

+ 9
- 0
templates/repo/create.tmpl View File

@@ -80,6 +80,15 @@
<label>{{.i18n.Tr "repo.template.issue_labels"}}</label> <label>{{.i18n.Tr "repo.template.issue_labels"}}</label>
</div> </div>
</div> </div>
<div class="inline field">
<div class="ui checkbox" id="auto-init">
<input class="hidden" name="auto_agree" type="checkbox">
<label
style="width: 76%;text-align: justify;line-height: 1.5;">{{.i18n.Tr "repo.use_repo_agreement"}}
<a target="_blank"
href="/home/term/">{{.i18n.Tr "repo.openi_use_agreement"}}</a></label>
</div>
</div>
</div> </div>


<div id="non_template"> <div id="non_template">


Loading…
Cancel
Save