diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2014-01-16 20:49:57 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2014-01-16 20:50:45 +0100 |
commit | bcb27ee5d77a8d60e25443f9aef59c395b4cee06 (patch) | |
tree | e5d1e4fdf72caacf457924a0b79e9506e7313011 /archaeological_operations/templates/ishtar/blocks | |
parent | 818463cd01a5f82861058cf75e0f6e794d69f57e (diff) | |
download | Ishtar-bcb27ee5d77a8d60e25443f9aef59c395b4cee06.tar.bz2 Ishtar-bcb27ee5d77a8d60e25443f9aef59c395b4cee06.zip |
Improve layout of administrativ acts in tables and record carts (refs #1621)
Diffstat (limited to 'archaeological_operations/templates/ishtar/blocks')
-rw-r--r-- | archaeological_operations/templates/ishtar/blocks/window_tables/administrativacts.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/archaeological_operations/templates/ishtar/blocks/window_tables/administrativacts.html b/archaeological_operations/templates/ishtar/blocks/window_tables/administrativacts.html new file mode 100644 index 000000000..9feb51e72 --- /dev/null +++ b/archaeological_operations/templates/ishtar/blocks/window_tables/administrativacts.html @@ -0,0 +1,18 @@ +{% load i18n %} +<table> + <caption>{{caption}}</caption> + <tr> + <th>{% trans "Ref." %}</th> + <th>{% trans "Type" %}</th> + <th>{% trans "Date" %}</th> + </tr> + {% for act in data %} + <tr> + <td>{{act.full_ref}}</td> + <td class='string'>{{act.act_type}}</td> + <td>{{act.signature_date}}</td> + </tr> + {% empty %} + <tr><td colspan="4" class='no_items'>{% trans "No administrative act associated" %}</td></tr> + {% endfor %} +</table> |