|
|
|
@ -223,6 +223,7 @@
|
|
|
|
{{if and (not $.Repository.IsArchived) (not .DiffNotAvailable)}}
|
|
|
|
{{if and (not $.Repository.IsArchived) (not .DiffNotAvailable)}}
|
|
|
|
<template id="issue-comment-editor-template">
|
|
|
|
<template id="issue-comment-editor-template">
|
|
|
|
<form class="ui form comment">
|
|
|
|
<form class="ui form comment">
|
|
|
|
|
|
|
|
<div class="field">
|
|
|
|
{{template "shared/combomarkdowneditor" (dict
|
|
|
|
{{template "shared/combomarkdowneditor" (dict
|
|
|
|
"CustomInit" true
|
|
|
|
"CustomInit" true
|
|
|
|
"MarkdownPreviewInRepo" $.Repository
|
|
|
|
"MarkdownPreviewInRepo" $.Repository
|
|
|
|
@ -230,12 +231,13 @@
|
|
|
|
"TextareaName" "content"
|
|
|
|
"TextareaName" "content"
|
|
|
|
"DropzoneParentContainer" ".ui.form"
|
|
|
|
"DropzoneParentContainer" ".ui.form"
|
|
|
|
)}}
|
|
|
|
)}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{{if .IsAttachmentEnabled}}
|
|
|
|
{{if .IsAttachmentEnabled}}
|
|
|
|
<div class="field">
|
|
|
|
<div class="field">
|
|
|
|
{{template "repo/upload" .}}
|
|
|
|
{{template "repo/upload" .}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
<div class="tw-text-right edit buttons">
|
|
|
|
<div class="field flex-text-block tw-justify-end">
|
|
|
|
<button class="ui cancel button">{{ctx.Locale.Tr "repo.issues.cancel"}}</button>
|
|
|
|
<button class="ui cancel button">{{ctx.Locale.Tr "repo.issues.cancel"}}</button>
|
|
|
|
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.save"}}</button>
|
|
|
|
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.save"}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|