From d491ba02b7884a235b5f8dffc46ed20b8673cf2b Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Mon, 15 Jul 2024 22:06:54 -0300 Subject: [PATCH] fix: commit de arquivo novo faltante no commit anterior --- sapl/templates/widgets/image_thumbnail.html | 66 +++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 sapl/templates/widgets/image_thumbnail.html diff --git a/sapl/templates/widgets/image_thumbnail.html b/sapl/templates/widgets/image_thumbnail.html new file mode 100644 index 000000000..154c1a7b2 --- /dev/null +++ b/sapl/templates/widgets/image_thumbnail.html @@ -0,0 +1,66 @@ +{% load i18n staticfiles thumbnail %} +{% load webpack_static from webpack_loader %} +
+ + {% if field.label %} + + {% endif %} + +
+
+ {% if widget.value.url %} +
+
+ {{ widget.value }} +
+
+
+
+ + +
+
+ + {% else %} +
+
+ +
+
+ {% endif %} +
+
+
+ +
+
+
+ {% include 'bootstrap3/layout/help_text_and_errors.html' %} +
+