diff options
author | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2017-02-09 12:42:53 +0100 |
---|---|---|
committer | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2017-02-09 12:42:53 +0100 |
commit | d24ad32d9beb5aea7f547cf33c48134aa9e9ce79 (patch) | |
tree | 9e02015745e10616b9eea3b659b3fc8af0da7df0 /archaeological_operations/templates | |
parent | ce34407c0cf0a75eea31bc25dbf7c7bc789e105b (diff) | |
download | Ishtar-d24ad32d9beb5aea7f547cf33c48134aa9e9ce79.tar.bz2 Ishtar-d24ad32d9beb5aea7f547cf33c48134aa9e9ce79.zip |
Sheets: remove title from Created_by and add link to creator sheet
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_administrativeact.html | 2 | ||||
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_administrativeact.html b/archaeological_operations/templates/ishtar/sheet_administrativeact.html index b12c1f8c0..080275aa9 100644 --- a/archaeological_operations/templates/ishtar/sheet_administrativeact.html +++ b/archaeological_operations/templates/ishtar/sheet_administrativeact.html @@ -35,7 +35,7 @@ {% if item.operation and item.operation.surface %} <li><label>{% trans "Surface:"%}</label> <span class='value'>{{ item.operation.surface }} m<sup>2</sup> ({{ item.operation.surface_ha }} ha)</span></li> {% endif %} - {% field_li "Created by" item.history_creator.ishtaruser %} + {% field_li_detail "Created by" item.history_creator.ishtaruser.person %} {% comment %}{% if item.general_contractor.attached_to %}<p> <label>{% trans "General contractor organisation:"%}</label> <span class='value'>{{ item.general_contractor.attached_to }}</span></p>{% endif %} <!-- Contractor's organisation displayed as concat of Name/Adress/postal_code/city --> diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 43446c516..28e4ae6b5 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -25,7 +25,7 @@ <ul class='form-flex'> {% field_li "Old code" item.old_code %} <li><label>{%trans "Last modification date:"%}</label> <span class='value'>{% if item.history_date %}{{ item.history_date }}{% else %}{{ item.history.all.0.history_date }}{% endif %}</span></li> <!-- date = now --> -{% field_li "Created by" item.history_creator.ishtaruser.full_label %} +{% field_li_detail "Created by" item.history_creator.ishtaruser.person %} {% field_li "Begining date" item.start_date %} {% field_li "Excavation end date" item.excavation_end_date|default:"-" %} {% field_li_detail "Head scientist" item.scientist %} |