aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/upload.tmpl
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2021-06-15 03:12:33 +0200
committerGitHub <noreply@github.com>2021-06-14 21:12:33 -0400
commitebf253b841d56c5cb1e57cb1e5e50c06d315bdee (patch)
tree703f8c4d0302e578d402d6aa42635852303026df /templates/repo/upload.tmpl
parent0adcea9ba6946e9479314e188afe53dcb39da6b0 (diff)
downloadgitea-ebf253b841d56c5cb1e57cb1e5e50c06d315bdee.tar.gz
gitea-ebf253b841d56c5cb1e57cb1e5e50c06d315bdee.zip
Add attachments for PR reviews (#16075)
* First step for multiple dropzones per page. * Allow attachments on review comments. * Lint. * Fixed accidental initialize of the review textarea. * Initialize SimpleMDE textarea. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/repo/upload.tmpl')
-rw-r--r--templates/repo/upload.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/repo/upload.tmpl b/templates/repo/upload.tmpl
index 9215da2b19..3dd40d1b27 100644
--- a/templates/repo/upload.tmpl
+++ b/templates/repo/upload.tmpl
@@ -1,6 +1,5 @@
<div
class="ui dropzone"
- id="dropzone"
data-link-url="{{.UploadLinkUrl}}"
data-upload-url="{{.UploadUrl}}"
data-remove-url="{{.UploadRemoveUrl}}"
@@ -11,4 +10,6 @@
data-invalid-input-type="{{.i18n.Tr "dropzone.invalid_input_type"}}"
data-file-too-big="{{.i18n.Tr "dropzone.file_too_big"}}"
data-remove-file="{{.i18n.Tr "dropzone.remove_file"}}"
-></div>
+>
+ <div class="files"></div>
+</div>