2021-01-21 19:21:17 +05:30
|
|
|
<div class="ui small modal" id="reference-issue-modal">
|
|
|
|
<div class="header">
|
2023-09-25 14:26:50 +05:30
|
|
|
{{ctx.Locale.Tr "repo.issues.context.reference_issue"}}
|
2021-01-21 19:21:17 +05:30
|
|
|
</div>
|
2024-03-24 01:41:15 +05:30
|
|
|
<div class="content tw-text-left">
|
2023-08-11 01:34:08 +05:30
|
|
|
<form class="ui form form-fetch-action" action="{{printf "%s/issues/new" .Repository.Link}}" method="post">
|
2021-01-21 19:21:17 +05:30
|
|
|
{{.CsrfTokenHtml}}
|
2024-04-19 01:01:53 +05:30
|
|
|
<div class="field">
|
|
|
|
<label><strong>{{ctx.Locale.Tr "repository"}}</strong></label>
|
|
|
|
<div class="ui search selection dropdown issue_reference_repository_search">
|
|
|
|
<div class="default text">{{.Repository.FullName}}</div>
|
|
|
|
<div class="menu"></div>
|
2021-01-21 19:21:17 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-19 01:01:53 +05:30
|
|
|
<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>
|
|
|
|
<textarea name="content" class="form-control"></textarea>
|
|
|
|
</div>
|
|
|
|
<div class="text right">
|
|
|
|
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.create"}}</button>
|
|
|
|
</div>
|
2021-01-21 19:21:17 +05:30
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|