summaryrefslogtreecommitdiff
path: root/archaeological_context_records
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-07-07 20:36:40 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-07-07 20:36:40 +0200
commitc3db809cebde54a3b96960334471d392d16710cf (patch)
treea7362048d8a53b683fc19c1208374d363f4d85b2 /archaeological_context_records
parent131a0ff3b009a879ebc0119396b8ee5e8e38a807 (diff)
parentf0481117c66e4151eeee5fa53fbe43e0d59fd50c (diff)
downloadIshtar-c3db809cebde54a3b96960334471d392d16710cf.tar.bz2
Ishtar-c3db809cebde54a3b96960334471d392d16710cf.zip
Merge branch 'master' into master-WIP-treatments
Diffstat (limited to 'archaeological_context_records')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index ecd80e36f..4102c01c4 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -25,7 +25,7 @@
{% if item.operation.code_patriarche %}
<p><label>{%trans "Complete ID:"%}</label>
{% else %}
-<p class='alert'><label>{%trans "Patriarche OA code not yet recorded!"%}</label></p>
+<p class='alert'><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> <label>{%trans "Patriarche OA code not yet recorded!"%}</label></p>
<p><label>{%trans "Temporary ID:"%}</label>
{%endif%}
<span class='value'>{{item.full_label}}</span></p>
@@ -84,7 +84,7 @@
<td class='string'>{{ relation.right_record.datings.all|join:", " }}</td>{# periods ?#}
<td class='string'>{{ relation.right_record.description }}</td>
<td class='string'>{{ relation.right_record.parcel.section }} - {{relation.right_record.parcel.parcel_number}}</td>
- <td class='link'><a href="#" class='display_details' onclick='load_window("{%url show-contextrecord relation.right_record.pk ''%}")'>{% trans "Details" %}</a></td>
+ <td class='link'><a href="#" class='display_details' onclick='load_window("{%url show-contextrecord relation.right_record.pk ''%}")'><i class="fa fa-info-circle" aria-hidden="true"></i></a></td>
</tr>
{% endfor %}
<table class='simple'>
@@ -98,7 +98,7 @@
{% if item.operation.code_patriarche %}
<p><label>{%trans "Patriarche OA code:"%}</label>
<span class='value'>{{ item.operation.code_patriarche }}</span></p>
-{% else %}<p class='alert'><label>{%trans "Patriarche OA code not yet recorded!"%}</label></p>
+{% else %}<p class='alert'><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> <label>{%trans "Patriarche OA code not yet recorded!"%}</label></p>
{%endif%}
{#<p><label>{%trans "Operation's name:"%}</label><span class='value'>{{ item.operation.internal_reference }}</span></p>#}
<p><label>{%trans "Head scientist:"%}</label>
@@ -120,7 +120,7 @@
<p><label>{%trans "Related operation:"%}</label>
<span class='value'><a href="#" onclick='load_window("{% url show-operation item.operation.pk ''%}");'>{{ item.operation }}</a></span></p>
{# TODO: Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related operation #}
-{% else %}<p class='alert'><label>{%trans "No operation linked to this context unit!"%}</label></p>
+{% else %}<p class='alert'><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> <label>{%trans "No operation linked to this context unit!"%}</label></p>
{% endif %}
{% trans "Document from this context record" as cr_docs %}