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-03-23 20:11:15 +00:00
|
|
|
<div class="content tw-text-left">
|
2023-08-10 20:04:08 +00:00
|
|
|
<form class="ui form form-fetch-action" action="{{printf "%s/issues/new" .Repository.Link}}" method="post">
|
2021-01-21 13:51:17 +00:00
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
<div class="ui segment content">
|
|
|
|
<div class="field">
|
2023-09-25 08:56:50 +00:00
|
|
|
<span class="text"><strong>{{ctx.Locale.Tr "repository"}}</strong></span>
|
2021-01-21 13:51:17 +00:00
|
|
|
<div class="ui search normal selection dropdown issue_reference_repository_search">
|
|
|
|
<div class="default text">{{.Repository.FullName}}</div>
|
|
|
|
<div class="menu"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
2023-09-25 08:56:50 +00:00
|
|
|
<span class="text"><strong>{{ctx.Locale.Tr "repo.milestones.title"}}</strong></span>
|
2021-01-21 13:51:17 +00:00
|
|
|
<input name="title" value="" autofocus required maxlength="255" autocomplete="off">
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
2023-09-25 08:56:50 +00:00
|
|
|
<span class="text"><strong>{{ctx.Locale.Tr "repo.issues.reference_issue.body"}}</strong></span>
|
2021-01-21 13:51:17 +00:00
|
|
|
<textarea name="content" class="form-control"></textarea>
|
|
|
|
</div>
|
|
|
|
<div class="text right">
|
2023-09-25 08:56:50 +00:00
|
|
|
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.create"}}</button>
|
2021-01-21 13:51:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|