From 1018402b846572b2bc348c0e6e0865527915afdb Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 30 Aug 2013 11:22:32 +0200 Subject: Templates: add link to doc tables - add a doc table to find sheet (refs #1350) --- .../templates/ishtar/sheet_find.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'archaeological_finds') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 9111eb409..223e07415 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -45,4 +45,24 @@ {% if forloop.counter0 %}
{% endif %} {% endfor %} + + + + + + + + + {% for doc in item.source.all %} + + + + + + + {% empty %} + + {% endfor %} +
{%trans "Documents"%}
{% trans "Title" %}{% trans "Type" %}{% trans "Authors" %}{% trans "Link" %}
{{ doc.title }}{{doc.source_type}}{{ doc.authors.all|join:", " }}{% if doc.associated_url %}{% trans "Link"%}{% endif %}
{% trans "No document associated to this find" %}
+ {% endblock %} -- cgit v1.2.3