From ddb40987f608136dd492721c69d30c2c54d247e4 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 8 Jul 2019 12:12:45 +0200 Subject: Contextt record sheet: refactor display --- .../ishtar/blocks/sheet_relation_image.html | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ishtar_common/templates/ishtar/blocks/sheet_relation_image.html (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_relation_image.html b/ishtar_common/templates/ishtar/blocks/sheet_relation_image.html new file mode 100644 index 000000000..971fcda06 --- /dev/null +++ b/ishtar_common/templates/ishtar/blocks/sheet_relation_image.html @@ -0,0 +1,33 @@ +{% load i18n %}{% if relation_image %} +
+ {% if output != "ODT" %}{% endif %} + + {% if output != "ODT" %}{% endif %} +
+{% endif %} + +{% if DOT_GENERATION and output != "ODT" and output != "PDF" %} +
+
+
+ {% if relation_image %} + SVG + {% endif %} + {% if relation_png %} + PNG + {% endif %} + {% if relation_dot %} + DOT + {% endif %} + + {% if relation_image %} + {% trans "Re-generate image" %} + {% else %} + {% trans "Generate image" %} + {% endif %} + +
+
+
+{% endif %} -- cgit v1.2.3