diff --git a/people/templates/people/person/detail.html b/people/templates/people/person/detail.html index c9112b7..a962846 100644 --- a/people/templates/people/person/detail.html +++ b/people/templates/people/person/detail.html @@ -10,79 +10,154 @@ +

{{ person }}

+ +
+ {% if person.gender %} +
Gender
+
{{ person.get_gender_display }}
+ {% endif %} + + {% if person.age_group %} +
Age Group
+
{{ person.get_age_group_display }}
+ {% endif %} + + {% if person.nationality %} +
Nationality
+
{{ person.nationality.name }}
+ {% endif %} + + {% if person.country_of_residence %} +
Country of Residence
+
{{ person.country_of_residence.name }}
+ {% endif %} + + {% if person.organisation %} +
Organisation
+
{{ person.organisation }}
+ {% endif %} + + {% if person.job_title %} +
Job Title
+
{{ person.job_title }}
+ {% endif %} + + {% if person.role %} +
Role
+
{{ person.role }}
+ {% endif %} +
+ Update
-

Relationships As Source

+
+
+

Relationships As Source

- New Relationship - - - - - - - - - - - - - {% for relationship in person.relationships_as_source.all %} +
Contact Name
+ - - - + + + + - {% empty %} + + {% for relationship in person.relationships_as_source.all %} + + + + + + + {% empty %} + + + + + {% endfor %} + +
{{ relationship.target }} - Profile - - Relationship Detail - Contact Name
{{ relationship.target }} + Profile + + Relationship Detail +
No known relationships
+ + New Relationship + +
+ +
+

Relationships As Target

+ + + - + + + + - {% endfor %} - -
No known relationshipsContact Name
+ + {% for relationship in person.relationships_as_target.all %} + + {{ relationship.source }} + + Profile + + + Relationship Detail + + -

Relationships As Target

+ {% empty %} + + No known relationships + + + {% endfor %} + + +
+
+ + +
+ +

Activities

- - - + - {% for relationship in person.relationships_as_target.all %} + {% for activity in person.activities.all %} - + - {% empty %} - + - {% endfor %}
Contact NameName
{{ relationship.source }}{{ activity }} Profile - - Relationship Detail + href="{% url 'activities:activity.detail' pk=activity.pk %}">Details
No known relationshipsNo records