summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-02-24 01:58:25 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-02-24 01:58:25 +0100
commit22f0ebd9873ea5eebbb0e8f2ef69fdee068bf0d1 (patch)
treef048ebfbdc4dac598b0e3bafdb3aa04efb693657 /ishtar_common/templates/ishtar/blocks
parentec49bd15c904020bc9111806f19211c42ded7daa (diff)
downloadIshtar-22f0ebd9873ea5eebbb0e8f2ef69fdee068bf0d1.tar.bz2
Ishtar-22f0ebd9873ea5eebbb0e8f2ef69fdee068bf0d1.zip
Fix dynamic table display in ODT and PDF
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_tables/static_documents.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_tables/static_documents.html b/ishtar_common/templates/ishtar/blocks/window_tables/static_documents.html
new file mode 100644
index 000000000..d6686b553
--- /dev/null
+++ b/ishtar_common/templates/ishtar/blocks/window_tables/static_documents.html
@@ -0,0 +1,11 @@
+{% load i18n %}
+
+<table class='simple'>
+ <caption>{{caption}}</caption>
+ <tr>{% for col in col_names %}
+ <th>{% trans col %}</th>{% endfor %}
+ </tr>{% for item in data %}
+ <tr>{% for value in item %}
+ <td>{{value}}</td>{%endfor%}
+ </tr>{% endfor %}
+</table>