From 84c185a137f2978da36e1bde5d9f200ddcf77271 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 29 Sep 2015 11:02:58 +0200 Subject: Add full export to dynamic table --- .../blocks/window_tables/dynamic_documents.html | 10 ++++++++++ ishtar_common/templatetags/window_tables.py | 22 +++++++++++++++------- 2 files changed, 25 insertions(+), 7 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html index bd83983f4..dce0a2c2e 100644 --- a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html +++ b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html @@ -4,6 +4,16 @@
+
+{% if source_full %} +{% trans "Export as CSV" %} ({{encoding}}) +{% trans "simple" %} - +{% trans "full" %} +{% else %} +{% trans "Export as CSV" %} ({{encoding}}) +{% endif %} +
+