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 | 455e9fe05008fffdb355dfe36748b39ba7efedf3 (patch) | |
tree | ea38a95302e1c6482a438f1a14302f68ee45f46f /ishtar_common | |
parent | 81be7b888e0f4d7e748cad20e597b028b7861b12 (diff) | |
download | Ishtar-455e9fe05008fffdb355dfe36748b39ba7efedf3.tar.bz2 Ishtar-455e9fe05008fffdb355dfe36748b39ba7efedf3.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> |