* Add notice that LFS mirroring is not supported * Drop German translationtags/v1.2.0-rc1
migrate.permission_denied = You are not allowed to import local repositories. | migrate.permission_denied = You are not allowed to import local repositories. | ||||
migrate.invalid_local_path = Invalid local path, it does not exist or not a directory. | migrate.invalid_local_path = Invalid local path, it does not exist or not a directory. | ||||
migrate.failed = Migration failed: %v | migrate.failed = Migration failed: %v | ||||
migrate.lfs_mirror_unsupported = Mirroring LFS objects is not supported - use 'git lfs fetch --all' and 'git lfs push --all' instead. | |||||
mirror_from = mirror of | mirror_from = mirror of | ||||
forked_from = forked from | forked_from = forked from |
ctx.Data["private"] = ctx.User.LastRepoVisibility | ctx.Data["private"] = ctx.User.LastRepoVisibility | ||||
ctx.Data["IsForcedPrivate"] = setting.Repository.ForcePrivate | ctx.Data["IsForcedPrivate"] = setting.Repository.ForcePrivate | ||||
ctx.Data["mirror"] = ctx.Query("mirror") == "1" | ctx.Data["mirror"] = ctx.Query("mirror") == "1" | ||||
ctx.Data["LFSActive"] = setting.LFS.StartServer | |||||
ctxUser := checkContextUser(ctx, ctx.QueryInt64("org")) | ctxUser := checkContextUser(ctx, ctx.QueryInt64("org")) | ||||
if ctx.Written() { | if ctx.Written() { |
<div class="inline required field {{if .Err_CloneAddr}}error{{end}}"> | <div class="inline required field {{if .Err_CloneAddr}}error{{end}}"> | ||||
<label for="clone_addr">{{.i18n.Tr "repo.migrate.clone_address"}}</label> | <label for="clone_addr">{{.i18n.Tr "repo.migrate.clone_address"}}</label> | ||||
<input id="clone_addr" name="clone_addr" value="{{.clone_addr}}" autofocus required> | <input id="clone_addr" name="clone_addr" value="{{.clone_addr}}" autofocus required> | ||||
<span class="help">{{.i18n.Tr "repo.migrate.clone_address_desc"}}{{if .ContextUser.CanImportLocal}} {{.i18n.Tr "repo.migrate.clone_local_path"}}{{end}}</span> | |||||
<span class="help"> | |||||
{{.i18n.Tr "repo.migrate.clone_address_desc"}}{{if .ContextUser.CanImportLocal}} {{.i18n.Tr "repo.migrate.clone_local_path"}}{{end}} | |||||
{{if .LFSActive}}<br/>{{.i18n.Tr "repo.migrate.lfs_mirror_unsupported"}}{{end}} | |||||
</span> | |||||
</div> | </div> | ||||
<div class="ui accordion optional field"> | <div class="ui accordion optional field"> | ||||
<div class="title {{if .Err_Auth}}text red active{{end}}"> | <div class="title {{if .Err_Auth}}text red active{{end}}"> |