From 7f84e36fb2f6a380635bc773eae32aa42203422c Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sat, 15 Feb 2020 23:48:26 +0100 Subject: Improve attachments - Allow multiple uploads at once - Make uploads deletable --- templates/macros.twig | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/macros.twig b/templates/macros.twig index 4e1b336..2c72334 100644 --- a/templates/macros.twig +++ b/templates/macros.twig @@ -39,17 +39,32 @@

Attachments

- - - + + + + + + + + + {% for att in note.attachments %} + + + + + {% endfor %} + + + + + +
DeleteFile name
+ + + {{ att.fileName ? att.fileName : att.id }} +
+ +
{% endmacro %} -- cgit v1.2.3-70-g09d2