diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-14 22:32:36 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-14 22:32:36 +0100 |
commit | 20ad0157e08a3a64b0e72c2bd9f5017cd7d4ab9a (patch) | |
tree | ea38a95302e1c6482a438f1a14302f68ee45f46f /ishtar_common | |
parent | 5048b20391e74ef7918bc63fd2d0b195354afc31 (diff) | |
download | Ishtar-20ad0157e08a3a64b0e72c2bd9f5017cd7d4ab9a.tar.bz2 Ishtar-20ad0157e08a3a64b0e72c2bd9f5017cd7d4ab9a.zip |
Person sheet: fix related operations and files listing
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/templates/ishtar/sheet_person.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/templates/ishtar/sheet_person.html b/ishtar_common/templates/ishtar/sheet_person.html index 126afe83a..f8657d976 100644 --- a/ishtar_common/templates/ishtar/sheet_person.html +++ b/ishtar_common/templates/ishtar/sheet_person.html @@ -35,17 +35,17 @@ {% trans "Associated operations as scientist" as ao %} {% if item.operation_scientist_responsability.count %} -{% dynamic_table_document ao 'operations' 'operation_scientist_responsability' item.pk %} +{% dynamic_table_document ao 'operations' 'scientist' item.pk %} {% endif %} {% trans "Associated operations as responsible" as ao %} {% if item.operation_responsability.count %} -{% dynamic_table_document ao 'operations' 'operation_responsability' item.pk %} +{% dynamic_table_document ao 'operations' 'in_charge' item.pk %} {% endif %} {% trans "Associated archaelogical files" as af %} {% if item.file_responsability.count %} -{% dynamic_table_document af 'files' 'file_responsability' item.pk %} +{% dynamic_table_document af 'files' 'in_charge' item.pk %} {% endif %} <table> @@ -64,10 +64,10 @@ <td class='string'>{{ doc.source_type }}</td> <td class='string'>{% if doc.associated_url %}<a href='{{doc.associated_url}}'>{% trans "Link"%}</a>{% endif %}</td> </tr> + {% endfor %} {% empty %} <tr><td colspan="4" class='no_items'>{% trans "No document associated to this person" %}</td></tr> {% endfor %} - {% endfor %} </table> |