diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-09-29 11:02:58 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-09-29 11:03:18 +0200 |
| commit | 84c185a137f2978da36e1bde5d9f200ddcf77271 (patch) | |
| tree | 39e08eeaa6d685680445e6d3ee70bc4563e0684d /ishtar_common/templates | |
| parent | e92789adec1ed5c510ac54b80a63175f037a7167 (diff) | |
| download | Ishtar-84c185a137f2978da36e1bde5d9f200ddcf77271.tar.bz2 Ishtar-84c185a137f2978da36e1bde5d9f200ddcf77271.zip | |
Add full export to dynamic table
Diffstat (limited to 'ishtar_common/templates')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html | 10 |
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( |
