summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html10
1 files changed, 10 insertions, 0 deletions
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 @@
<table id='grid_{{name}}' class='jqgrid'></table>
<div id='pager_{{name}}'></div>
+<div id='foot_{{name}}' class='gridfooter'>
+{% if source_full %}
+{% trans "Export as CSV" %} ({{encoding}})
+<a href='{{simple_source}}csv{{ source_attrs }}' target='_blank'>{% trans "simple" %}</a> -
+<a href='{{source_full}}csv{{ source_attrs }}' target='_blank'>{% trans "full" %}</a>
+{% else %}
+<a href="{{simple_source}}csv{{ source_attrs }}" target="_blank">{% trans "Export as CSV" %} ({{encoding}})</a>
+{% endif %}
+</div>
+
<script type="text/javascript" language='javascript'>
setTimeout(