summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-01 11:24:12 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-01 11:24:12 +0100
commit0203ccf42cb3e8c79ea90a68f35818e4426b4d65 (patch)
tree0f977194f9bcccc6deebeb080c03337aba18535e /archaeological_finds
parent3232a862a9f68751ba17d7f850ce05f5f6a065c5 (diff)
downloadIshtar-0203ccf42cb3e8c79ea90a68f35818e4426b4d65.tar.bz2
Ishtar-0203ccf42cb3e8c79ea90a68f35818e4426b4d65.zip
Open treatment sheet in find sheet
Diffstat (limited to 'archaeological_finds')
-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>