mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 19:54:25 +00:00
ec3d467f15
We have to define this one in helpers.css because tailwind only generates a single class but certain things rely on this being double-class. Command ran: ```sh perl -p -i -e 's#gt-hidden#tw-hidden#g' web_src/js/**/* templates/**/* models/**/* web_src/css/**/* --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
27 lines
1.3 KiB
Handlebars
27 lines
1.3 KiB
Handlebars
{{if not .DisableNewPullMirrors}}
|
|
<div class="inline field">
|
|
<label>{{ctx.Locale.Tr "repo.migrate_options"}}</label>
|
|
<div class="ui checkbox">
|
|
<input id="mirror" name="mirror" type="checkbox" {{if .mirror}} checked{{end}}>
|
|
<label>{{ctx.Locale.Tr "repo.migrate_options_mirror_helper"}}</label>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
{{if .LFSActive}}
|
|
<div class="inline field">
|
|
<label></label>
|
|
<div class="ui checkbox">
|
|
<input id="lfs" name="lfs" type="checkbox" {{if .lfs}} checked{{end}}>
|
|
<label>{{ctx.Locale.Tr "repo.migrate_options_lfs"}}</label>
|
|
</div>
|
|
<span id="lfs_settings" class="tw-hidden">(<a id="lfs_settings_show" href="#">{{ctx.Locale.Tr "repo.settings.advanced_settings"}}</a>)</span>
|
|
</div>
|
|
<div id="lfs_endpoint" class="tw-hidden">
|
|
<span class="help">{{ctx.Locale.Tr "repo.migrate_options_lfs_endpoint.description" "https://github.com/git-lfs/git-lfs/blob/main/docs/api/server-discovery.md#server-discovery"}}{{if .ContextUser.CanImportLocal}} {{ctx.Locale.Tr "repo.migrate_options_lfs_endpoint.description.local"}}{{end}}</span>
|
|
<div class="inline field {{if .Err_LFSEndpoint}}error{{end}}">
|
|
<label>{{ctx.Locale.Tr "repo.migrate_options_lfs_endpoint.label"}}</label>
|
|
<input name="lfs_endpoint" value="{{.lfs_endpoint}}" placeholder="{{ctx.Locale.Tr "repo.migrate_options_lfs_endpoint.placeholder"}}">
|
|
</div>
|
|
</div>
|
|
{{end}}
|