Some checks failed
cache-seeder / prune (push) Has been skipped
cache-seeder / frontend (push) Failing after 3s
cache-seeder / python (push) Failing after 3s
cache-seeder / gobuild (push) Failing after 4s
cache-seeder / lint (bindata, lint-backend) (push) Failing after 3s
giteabot backport / giteabot (push) Has been skipped
giteabot / giteabot (push) Has been skipped
cache-prune / prune (push) Has been skipped
release-nightly-snapcraft / build-and-publish (ubuntu-24.04) (push) Has been cancelled
release-nightly-snapcraft / build-and-publish (ubuntu-24.04-arm) (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
cron-renovate / cron-renovate (push) Has been skipped
23 lines
918 B
Handlebars
23 lines
918 B
Handlebars
{{$repoFullName := .RepoFullName}}
|
|
{{$repoOperationLink := .RepoOperationLink}}
|
|
{{$repoOperationAction := .RepoOperationAction}}
|
|
{{$repoOperationText := .RepoOperationText}}
|
|
<form class="ui form form-fetch-action" action="{{$repoOperationLink}}" method="post">
|
|
<input type="hidden" name="action" value="{{$repoOperationAction}}">
|
|
<div class="field">
|
|
<label>{{ctx.Locale.Tr "repo.settings.enter_repo_name_to_confirm"}} <span class="tw-text-red">{{$repoFullName}}</span></label>
|
|
</div>
|
|
<div class="required field">
|
|
<label>{{ctx.Locale.Tr "repo.repo_name"}}</label>
|
|
<input name="repo_name" required>
|
|
</div>
|
|
{{if eq $repoOperationAction "transfer"}}
|
|
<div class="required field">
|
|
<label>{{ctx.Locale.Tr "repo.settings.transfer_owner"}}</label>
|
|
<input name="new_owner_name" required>
|
|
</div>
|
|
{{end}}
|
|
{{template "base/modal_actions_confirm" (dict "ModalButtonDangerText" $repoOperationText)}}
|
|
</form>
|
|
|