diff options
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 |
commit | e67702f06e1f9866c44df3a7e45f2739d43513f4 (patch) | |
tree | 0f977194f9bcccc6deebeb080c03337aba18535e | |
parent | e5291ad557e97c1aa2d516494d25fd72ea33ae91 (diff) | |
download | Ishtar-e67702f06e1f9866c44df3a7e45f2739d43513f4.tar.bz2 Ishtar-e67702f06e1f9866c44df3a7e45f2739d43513f4.zip |
Open treatment sheet in find sheet
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 14 |
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> </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> </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> |