diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-07 20:28:33 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-07 20:28:33 +0200 |
commit | f0481117c66e4151eeee5fa53fbe43e0d59fd50c (patch) | |
tree | 3e4cc0d67c86f2c06a8567b832bb05ce4887cf87 /archaeological_context_records/templates | |
parent | 0857ca48168a7f08d0e6dd37a4d808e18797b91f (diff) | |
download | Ishtar-f0481117c66e4151eeee5fa53fbe43e0d59fd50c.tar.bz2 Ishtar-f0481117c66e4151eeee5fa53fbe43e0d59fd50c.zip |
Switch to font-awesome for icons
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 8 |
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 %} |