* Migrating wiki don't require token, so we should move it out of the require form
* Fix lint
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
{{template "repo/migrate/options" .}}
- <span class="help">{{.i18n.Tr "repo.migrate.migrate_items_options"}}</span>
- <div id="migrate_items">
- <div class="inline field">
- <label>{{.i18n.Tr "repo.migrate_items"}}</label>
- <div class="ui checkbox">
- <input name="wiki" type="checkbox" {{if .wiki}} checked{{end}}>
- <label>{{.i18n.Tr "repo.migrate_items_wiki" | Safe}}</label>
- </div>
- <div class="ui checkbox">
- <input name="milestones" type="checkbox" {{if .milestones}} checked{{end}}>
- <label>{{.i18n.Tr "repo.migrate_items_milestones" | Safe}}</label>
- </div>
+ <div class="inline field">
+ <label>{{.i18n.Tr "repo.migrate_items"}}</label>
+ <div class="ui checkbox">
+ <input name="wiki" type="checkbox" {{if .wiki}} checked{{end}}>
+ <label>{{.i18n.Tr "repo.migrate_items_wiki" | Safe}}</label>
</div>
+ </div>
+
+ <div id="migrate_items">
+ <span class="help">{{.i18n.Tr "repo.migrate.migrate_items_options"}}</span>
<div class="inline field">
<label></label>
<div class="ui checkbox">
<label>{{.i18n.Tr "repo.migrate_items_releases" | Safe}}</label>
</div>
</div>
+ <div class="inline field">
+ <label></label>
+ <div class="ui checkbox">
+ <input name="milestones" type="checkbox" {{if .milestones}} checked{{end}}>
+ <label>{{.i18n.Tr "repo.migrate_items_milestones" | Safe}}</label>
+ </div>
+ </div>
</div>
<div class="ui divider"></div>
{{template "repo/migrate/options" .}}
- <span class="help">{{.i18n.Tr "repo.migrate.migrate_items_options"}}</span>
- <div id="migrate_items">
- <div class="inline field">
- <label>{{.i18n.Tr "repo.migrate_items"}}</label>
- <div class="ui checkbox">
- <input name="wiki" type="checkbox" {{if .wiki}}checked{{end}}>
- <label>{{.i18n.Tr "repo.migrate_items_wiki" | Safe}}</label>
- </div>
- <div class="ui checkbox">
- <input name="milestones" type="checkbox" {{if .milestones}}checked{{end}}>
- <label>{{.i18n.Tr "repo.migrate_items_milestones" | Safe}}</label>
- </div>
+ <div class="inline field">
+ <label>{{.i18n.Tr "repo.migrate_items"}}</label>
+ <div class="ui checkbox">
+ <input name="wiki" type="checkbox" {{if .wiki}}checked{{end}}>
+ <label>{{.i18n.Tr "repo.migrate_items_wiki" | Safe}}</label>
</div>
+ </div>
+ <div id="migrate_items">
+ <span class="help">{{.i18n.Tr "repo.migrate.migrate_items_options"}}</span>
<div class="inline field">
<label></label>
<div class="ui checkbox">
<label>{{.i18n.Tr "repo.migrate_items_releases" | Safe}}</label>
</div>
</div>
+ <div class="inline field">
+ <label></label>
+ <div class="ui checkbox">
+ <input name="milestones" type="checkbox" {{if .milestones}}checked{{end}}>
+ <label>{{.i18n.Tr "repo.migrate_items_milestones" | Safe}}</label>
+ </div>
+ </div>
</div>
<div class="ui divider"></div>
{{template "repo/migrate/options" .}}
- <span class="help">{{.i18n.Tr "repo.migrate.migrate_items_options"}}</span>
- <div id="migrate_items">
- <div class="inline field">
- <label>{{.i18n.Tr "repo.migrate_items"}}</label>
- <div class="ui checkbox">
- <input name="wiki" type="checkbox" {{if .wiki}}checked{{end}}>
- <label>{{.i18n.Tr "repo.migrate_items_wiki" | Safe}}</label>
- </div>
- <div class="ui checkbox">
- <input name="milestones" type="checkbox" {{if .milestones}}checked{{end}}>
- <label>{{.i18n.Tr "repo.migrate_items_milestones" | Safe}}</label>
- </div>
+ <div class="inline field">
+ <label>{{.i18n.Tr "repo.migrate_items"}}</label>
+ <div class="ui checkbox">
+ <input name="wiki" type="checkbox" {{if .wiki}}checked{{end}}>
+ <label>{{.i18n.Tr "repo.migrate_items_wiki" | Safe}}</label>
</div>
+ </div>
+ <div id="migrate_items">
+ <span class="help">{{.i18n.Tr "repo.migrate.migrate_items_options"}}</span>
<div class="inline field">
<label></label>
<div class="ui checkbox">
<label>{{.i18n.Tr "repo.migrate_items_releases" | Safe}}</label>
</div>
</div>
+ <div class="inline field">
+ <label></label>
+ <div class="ui checkbox">
+ <input name="milestones" type="checkbox" {{if .milestones}}checked{{end}}>
+ <label>{{.i18n.Tr "repo.migrate_items_milestones" | Safe}}</label>
+ </div>
+ </div>
</div>
<div class="ui divider"></div>
{{template "repo/migrate/options" .}}
- <span class="help">{{.i18n.Tr "repo.migrate.migrate_items_options"}}</span>
- <div id="migrate_items">
- <div class="inline field">
- <label>{{.i18n.Tr "repo.migrate_items"}}</label>
- <div class="ui checkbox">
- <input name="wiki" type="checkbox" {{if .wiki}} checked{{end}}>
- <label>{{.i18n.Tr "repo.migrate_items_wiki" | Safe}}</label>
- </div>
- <div class="ui checkbox">
- <input name="milestones" type="checkbox" {{if .milestones}} checked{{end}}>
- <label>{{.i18n.Tr "repo.migrate_items_milestones" | Safe}}</label>
- </div>
+ <div class="inline field">
+ <label>{{.i18n.Tr "repo.migrate_items"}}</label>
+ <div class="ui checkbox">
+ <input name="wiki" type="checkbox" {{if .wiki}} checked{{end}}>
+ <label>{{.i18n.Tr "repo.migrate_items_wiki" | Safe}}</label>
</div>
+ </div>
+
+ <div id="migrate_items">
+ <span class="help">{{.i18n.Tr "repo.migrate.migrate_items_options"}}</span>
<div class="inline field">
<label></label>
<div class="ui checkbox">
<label>{{.i18n.Tr "repo.migrate_items_issues" | Safe}}</label>
</div>
</div>
+ <div class="inline field">
+ <label></label>
+ <div class="ui checkbox">
+ <input name="milestones" type="checkbox" {{if .milestones}} checked{{end}}>
+ <label>{{.i18n.Tr "repo.migrate_items_milestones" | Safe}}</label>
+ </div>
+ </div>
<!-- Gogs do not support it
<div class="inline field">
<label></label>
.form {
.help {
color: #999999;
- padding-top: .6em;
padding-bottom: .6em;
display: inline-block;
}