diff options
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 |
commit | 381ee68c8295597b77ac44f83113317148e739ff (patch) | |
tree | 6b73756ef5b0c2981513c82df76373a574099162 | |
parent | dfc61e9fbcc019a0ac2900e1df3ece8794ebe3b8 (diff) | |
download | Ishtar-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.html | 6 |
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> </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> |