summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValérie-Emma Leroux <emma@iggdrasil.net>2017-03-09 15:23:07 +0100
committerValérie-Emma Leroux <emma@iggdrasil.net>2017-03-09 15:23:07 +0100
commit4ec2567d3dbceb4142431b5c4feaeba7e08d65a9 (patch)
tree6bd0cb96bc7e57d6ba9b4a822de775377e37b782
parent0f6ac2e49addb571b62d3a1027f5c8ef6c931fa7 (diff)
downloadIshtar-4ec2567d3dbceb4142431b5c4feaeba7e08d65a9.tar.bz2
Ishtar-4ec2567d3dbceb4142431b5c4feaeba7e08d65a9.zip
Sheets: remove title from Created by field
-rw-r--r--ishtar_common/templates/ishtar/sheet_organization.html2
-rw-r--r--ishtar_common/templates/ishtar/sheet_person.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/sheet_organization.html b/ishtar_common/templates/ishtar/sheet_organization.html
index 1f4bd77b7..66048095b 100644
--- a/ishtar_common/templates/ishtar/sheet_organization.html
+++ b/ishtar_common/templates/ishtar/sheet_organization.html
@@ -6,7 +6,7 @@
{% block content %}
{% window_nav item window_id 'show-organization' 'organization_modify' %}
<p><label>{% trans "Name" %}</label> <span class='value'>{{item.name}}</span></p>
-<p><label>{%trans "Created by:"%}</label> <span class='value'>{{ item.history_creator.ishtaruser.full_label }}</span></p>
+<p><label>{%trans "Created by:"%}</label> <span class='value'>{{ item.history_creator.ishtaruser.person }}</span></p>
{% if item.address %}<p><label>{% trans "Address" %}</label> <span class='value'>{{item.address}}</span></p> {% endif %}
{% if item.address_complement %}<p><label>{% trans "Address complement" %}</label> <span class='value'>{{item.address_complement}}</span></p> {% endif %}
{% if item.postal_code %}<p><label>{% trans "Postal code" %}</label> <span class='value'>{{item.postal_code}}</span></p> {% endif %}
diff --git a/ishtar_common/templates/ishtar/sheet_person.html b/ishtar_common/templates/ishtar/sheet_person.html
index bcf39c363..e2df2120a 100644
--- a/ishtar_common/templates/ishtar/sheet_person.html
+++ b/ishtar_common/templates/ishtar/sheet_person.html
@@ -10,7 +10,7 @@
{% field "Name" item.name %}
{% field "Surname" item.surname %}
{% field "Raw name" item.raw_name %}
-{% field "Created by" item.history_creator.ishtaruser.full_label %}
+{% field "Created by" item.history_creator.ishtaruser.person %}
{% field "Email" item.email %}
{% field "Type(s)" item.person_types_list %}