2021-01-21 13:51:17 +00:00
|
|
|
<div class="ui small modal" id="reference-issue-modal">
|
|
|
|
<div class="header">
|
2023-09-25 08:56:50 +00:00
|
|
|
{{ctx.Locale.Tr "repo.issues.context.reference_issue"}}
|
2021-01-21 13:51:17 +00:00
|
|
|
</div>
|
2024-04-21 23:14:33 +00:00
|
|
|
<div class="content">
|
|
|
|
<form class="ui form form-fetch-action" action="{{.Repository.Link}}/issues/new" method="post">
|
2021-01-21 13:51:17 +00:00
|
|
|
{{.CsrfTokenHtml}}
|
2024-04-18 19:31:53 +00:00
|
|
|
<div class="field">
|
|
|
|
<label><strong>{{ctx.Locale.Tr "repository"}}</strong></label>
|
2024-05-06 07:45:04 +00:00
|
|
|
<div class="ui search selection dropdown issue_reference_repository_search ellipsis-items-nowrap">
|
2024-04-21 23:14:33 +00:00
|
|
|
<div class="default text gt-ellipsis">{{.Repository.FullName}}</div>
|
2024-04-18 19:31:53 +00:00
|
|
|
<div class="menu"></div>
|
2021-01-21 13:51:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-18 19:31:53 +00:00
|
|
|
<div class="field">
|
|
|
|
<label><strong>{{ctx.Locale.Tr "repo.milestones.title"}}</strong></label>
|
|
|
|
<input name="title" value="" autofocus required maxlength="255" autocomplete="off">
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<label><strong>{{ctx.Locale.Tr "repo.issues.reference_issue.body"}}</strong></label>
|
2024-04-21 23:14:33 +00:00
|
|
|
<textarea name="content"></textarea>
|
2024-04-18 19:31:53 +00:00
|
|
|
</div>
|
|
|
|
<div class="text right">
|
|
|
|
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.create"}}</button>
|
|
|
|
</div>
|
2021-01-21 13:51:17 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|