From 8ef85addd0c7c70f4289bfcff89cbc89e37268f6 Mon Sep 17 00:00:00 2001 From: Yingtong Li Date: Sat, 4 Jan 2020 16:49:58 +1100 Subject: [PATCH] Show uploaded files in bulletin editor --- sspromotions/jinja2/sspromotions/bulletin_edit.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sspromotions/jinja2/sspromotions/bulletin_edit.html b/sspromotions/jinja2/sspromotions/bulletin_edit.html index 97142a2..962f68c 100644 --- a/sspromotions/jinja2/sspromotions/bulletin_edit.html +++ b/sspromotions/jinja2/sspromotions/bulletin_edit.html @@ -73,7 +73,12 @@
- +
+ {% if item.image %} + {{ item.image.name.split('/')[-1] }} + {% endif %} + +