forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrew Thornton <art27@cantab.net>
- Loading branch information
Showing
3 changed files
with
35 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<div class="ui small modal" id="delete-repo-modal"> | ||
<div class="header"> | ||
{{.i18n.Tr "repo.settings.delete"}} | ||
</div> | ||
<div class="content"> | ||
<div class="ui warning message text left"> | ||
{{.i18n.Tr "repo.settings.delete_notices_1" | Safe}}<br> | ||
{{.i18n.Tr "repo.settings.delete_notices_2" .Repository.FullName | Safe}} | ||
{{if .Repository.NumForks}}<br> | ||
{{.i18n.Tr "repo.settings.delete_notices_fork_1"}} | ||
{{end}} | ||
</div> | ||
<form class="ui form" action="{{.Link}}" method="post"> | ||
{{.CsrfTokenHtml}} | ||
<input type="hidden" name="action" value="delete"> | ||
<div class="field"> | ||
<label> | ||
{{.i18n.Tr "repo.settings.transfer_form_title"}} | ||
<span class="text red">{{.Repository.Name}}</span> | ||
</label> | ||
</div> | ||
<div class="required field"> | ||
<label for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label> | ||
<input id="repo_name" name="repo_name" required> | ||
</div> | ||
|
||
<div class="text right actions"> | ||
<div class="ui cancel button">{{.i18n.Tr "settings.cancel"}}</div> | ||
<button class="ui red button">{{.i18n.Tr "repo.settings.confirm_delete"}}</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters