diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-30 11:22:32 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-30 11:22:32 +0200 |
commit | cfa07b0526c908baa4848b63dbb4a7bb35e0bdaa (patch) | |
tree | 132eac66e87b320396f8e7e2ac455c09125f10d3 /archaeological_context_records/templates | |
parent | 911c9bfdbc0bffa79a1509e5709a8009db7d0938 (diff) | |
download | Ishtar-cfa07b0526c908baa4848b63dbb4a7bb35e0bdaa.tar.bz2 Ishtar-cfa07b0526c908baa4848b63dbb4a7bb35e0bdaa.zip |
Templates: add link to doc tables - add a doc table to find sheet (refs #1350)
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 003e7d89b..355e76abc 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -82,14 +82,14 @@ <th>{% trans "Title" %}</th> <th>{% trans "Type" %}</th> <th>{% trans "Authors" %}</th> - {#<th>{% trans "Localisation" %}</th>#} + <th>{% trans "Link" %}</th> </tr> {% for doc in item.source.all %} <tr> <td class='string'>{{ doc.title }}</td> <td class='string'>{{doc.source_type}}</td> <td class='string'>{{ doc.authors.all|join:", " }}</td> - {#<td>{{ doc.localisation }}</td>#} + <td class='string'>{% if doc.associated_url %}<a href='{{doc.associated_url}}'>{% trans "Link"%}</a>{% endif %}</td> </tr> {% empty %} <tr><td colspan="4" class='no_items'>{% trans "No document associated to this context record" %}</td></tr> |