mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 06:25:31 +00:00
d55a0b7238
* Refactor `i18n` to `locale` - Currently we're using the `i18n` variable naming for the `locale` struct. This contains locale's specific information and cannot be used for general i18n purpose, therefore refactoring it to `locale` makes more sense. - Ref: https://github.com/go-gitea/gitea/pull/20096#discussion_r906699200 * Update routers/install/install.go
58 lines
1.7 KiB
Handlebars
58 lines
1.7 KiB
Handlebars
<div class="ui small basic delete modal">
|
|
<div class="ui icon header">
|
|
{{svg "octicon-trash"}}
|
|
{{.locale.Tr "repo.issues.label_deletion"}}
|
|
</div>
|
|
<div class="content">
|
|
<p>{{.locale.Tr "repo.issues.label_deletion_desc"}}</p>
|
|
</div>
|
|
<div class="actions">
|
|
<div class="ui red basic inverted cancel button">
|
|
<i class="remove icon"></i>
|
|
{{.locale.Tr "modal.no"}}
|
|
</div>
|
|
<div class="ui green basic inverted ok button">
|
|
<i class="checkmark icon"></i>
|
|
{{.locale.Tr "modal.yes"}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ui small edit-label modal">
|
|
<div class="header">
|
|
{{.locale.Tr "repo.issues.label_modify"}}
|
|
</div>
|
|
<div class="content">
|
|
<form class="ui edit-label form ignore-dirty" action="{{$.Link}}/edit" method="post">
|
|
{{.CsrfTokenHtml}}
|
|
<input id="label-modal-id" name="id" type="hidden">
|
|
<div class="ui grid">
|
|
<div class="three wide column">
|
|
<div class="ui small input">
|
|
<input class="new-label-input emoji-input" name="title" placeholder="{{.locale.Tr "repo.issues.new_label_placeholder"}}" autofocus required maxlength="50">
|
|
</div>
|
|
</div>
|
|
<div class="five wide column">
|
|
<div class="ui small fluid input">
|
|
<input class="new-label-desc-input" name="description" placeholder="{{.locale.Tr "repo.issues.new_label_desc_placeholder"}}" maxlength="200">
|
|
</div>
|
|
</div>
|
|
<div class="color picker column">
|
|
<input class="color-picker" name="color" value="#70c24a" required maxlength="7">
|
|
</div>
|
|
<div class="column precolors">
|
|
{{template "repo/issue/label_precolors"}}
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="actions">
|
|
<div class="ui negative button">
|
|
{{.locale.Tr "cancel"}}
|
|
</div>
|
|
<div class="ui positive button">
|
|
{{.locale.Tr "save"}}
|
|
</div>
|
|
</div>
|
|
</div>
|