From 609a19d9e8a4210d96aab928bac9bcbd3fff5613 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 10 Nov 2020 11:07:20 +0100 Subject: Document: add iframe template for documents --- ishtar_common/templates/ishtar/sheet_document.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/sheet_document.html b/ishtar_common/templates/ishtar/sheet_document.html index a9c6f807e..5aff68107 100644 --- a/ishtar_common/templates/ishtar/sheet_document.html +++ b/ishtar_common/templates/ishtar/sheet_document.html @@ -10,10 +10,11 @@ {% block general %} -{% if item.main_image %} +{% if item.main_image or item.has_iframe %}
{% include "ishtar/blocks/window_image.html" %} + {{ item.get_iframe }}
{% else %} @@ -53,7 +54,7 @@ {% field_flex_full "" item.authors|add_links:'person' %} {% endif %}
-{% if item.main_image %} +{% if item.main_image or has_iframe %}
{% endif %}
-- cgit v1.2.3