diff options
Diffstat (limited to 'templates/repo/issue/view_content/reference_issue_dialog.tmpl')
-rw-r--r-- | templates/repo/issue/view_content/reference_issue_dialog.tmpl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/repo/issue/view_content/reference_issue_dialog.tmpl b/templates/repo/issue/view_content/reference_issue_dialog.tmpl new file mode 100644 index 0000000000..2133df520a --- /dev/null +++ b/templates/repo/issue/view_content/reference_issue_dialog.tmpl @@ -0,0 +1,30 @@ +<div class="ui small modal" id="reference-issue-modal"> + <div class="header"> + {{.i18n.Tr "repo.issues.context.reference_issue"}} + </div> + <div class="content" style="text-align:left"> + <form class="ui form" action="{{ Printf "%s/issues/new" .Repository.Link }}" method="post"> + {{.CsrfTokenHtml}} + <div class="ui segment content"> + <div class="field"> + <span class="text"><strong>{{.i18n.Tr "repository"}}</strong></span> + <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"> + <span class="text"><strong>{{.i18n.Tr "repo.milestones.title"}}</strong></span> + <input name="title" value="" autofocus required maxlength="255" autocomplete="off"> + </div> + <div class="field"> + <span class="text"><strong>{{.i18n.Tr "repo.issues.reference_issue.body"}}</strong></span> + <textarea name="content" class="form-control"></textarea> + </div> + <div class="text right"> + <button class="ui green button">{{.i18n.Tr "repo.issues.create"}}</button> + </div> + </div> + </form> + </div> +</div> |