summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 39a6c47c8..61675b30b 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -85,6 +85,7 @@
<div class='clean-table-wrap'>
<table id='{{window_id}}-upstream'>
<tr>
+ <th>&nbsp;</th>
<th>{% trans "Type" %}</th>
<th>{% trans "Related finds" %}</th>
<th>{% trans "Doer" %}</th>
@@ -94,6 +95,12 @@
</tr>
{% for items, treatment in item.upstream_treatments %}
<tr>
+ <td>
+ <a class="display_details" href="#"
+ onclick="load_window('{% url 'show-treatment' treatment.id %}/');">
+ <i class="fa fa-info-circle" aria-hidden="true"></i>
+ </a>
+ </td>
<td class='string'>{{ treatment.treatment_type }}</td>
<td class='item-list'>{% for item in items %}<span>{{item}} {{ item|link_to_window}}</span>{% endfor %}</td>
<td class='string'>{{ treatment.person|default_if_none:"-" }}</td>
@@ -114,6 +121,7 @@
<div class='clean-table-wrap'>
<table id='{{window_id}}-downstream'>
<tr>
+ <th>&nbsp;</th>
<th>{% trans "Type" %}</th>
<th>{% trans "Related finds" %}</th>
<th>{% trans "Doer" %}</th>
@@ -123,6 +131,12 @@
</tr>
{% for items, treatment in item.downstream_treatments %}
<tr>
+ <td>
+ <a class="display_details" href="#"
+ onclick="load_window('{% url 'show-treatment' treatment.id %});">
+ <i class="fa fa-info-circle" aria-hidden="true"></i>
+ </a>
+ </td>
<td class='string'>{{ treatment.treatment_type }}</td>
<td class='item-list'>{% for item in items %}<span>{{item}} {{ item|link_to_window}}</span>{% endfor %}</td>
<td class='string'>{{ treatment.person|default_if_none:"" }}</td>