summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/window_tables
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
commita15f6165f04cc249a42edde5f01851ccd2d7d4ac (patch)
treef048ebfbdc4dac598b0e3bafdb3aa04efb693657 /ishtar_common/templates/ishtar/blocks/window_tables
parentb8c911e12b380efc49865ad8b18e825d23c4bdd0 (diff)
downloadIshtar-a15f6165f04cc249a42edde5f01851ccd2d7d4ac.tar.bz2
Ishtar-a15f6165f04cc249a42edde5f01851ccd2d7d4ac.zip
Fix dynamic table display in ODT and PDF
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_tables')
-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>