summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-15 17:08:59 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-15 17:08:59 +0100
commit381ee68c8295597b77ac44f83113317148e739ff (patch)
tree6b73756ef5b0c2981513c82df76373a574099162
parentdfc61e9fbcc019a0ac2900e1df3ece8794ebe3b8 (diff)
downloadIshtar-381ee68c8295597b77ac44f83113317148e739ff.tar.bz2
Ishtar-381ee68c8295597b77ac44f83113317148e739ff.zip
Find sheet: link for documents related to finds (refs #3555)
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index df9fedb10..381c81a31 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -223,6 +223,7 @@
<table id='{{window_id}}-docs'>
<caption>{%trans "Documents"%}</caption>
<tr>
+ <th>&nbsp;</th>
<th>{% trans "Title" %}</th>
<th>{% trans "Type" %}</th>
<th>{% trans "Authors" %}</th>
@@ -230,8 +231,11 @@
</tr>
{% for doc in item.source.all %}
<tr>
+ <td><a class="display_details" href="#"
+ onclick="load_window('{% url 'show-findsource' doc.id %}/');"><i class="fa fa-info-circle" aria-hidden="true"></i>
+ </a></td>
<td class='string'>{{ doc.title }}</td>
- <td class='string'>{{doc.source_type}}</td>
+ <td class='string'>{{ doc.source_type }}</td>
<td class='string'>{{ doc.authors.all|join:", " }}</td>
<td class='string'>{% if doc.associated_url %}<a href='{{doc.associated_url}}' target="_blank">{{doc.associated_url}}</a>{% endif %}</td>
</tr>