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
-
-
-
-
-
- | Contact Name |
- |
- |
-
-
-
-
- {% for relationship in person.relationships_as_source.all %}
+
+
- | {{ relationship.target }} |
-
- Profile
- |
-
- Relationship Detail
- |
+ Contact Name |
+ |
+ |
+
- {% empty %}
+
+ {% for relationship in person.relationships_as_source.all %}
+
+ | {{ relationship.target }} |
+
+ Profile
+ |
+
+ Relationship Detail
+ |
+
+
+ {% empty %}
+
+ | No known relationships |
+
+
+ {% endfor %}
+
+
+
+ New Relationship
+
+
+
+
+
Relationships As Target
+
+
+
- | No known relationships |
+ Contact Name |
+ |
+ |
+
- {% endfor %}
-
-
+
+ {% for relationship in person.relationships_as_target.all %}
+
+ | {{ relationship.source }} |
+
+ Profile
+ |
+
+ Relationship Detail
+ |
+
- Relationships As Target
+ {% empty %}
+
+ | No known relationships |
+
+
+ {% endfor %}
+
+
+
+
+
+
+
+
+ Activities
- | Contact Name |
- |
- |
+ Name |
- {% for relationship in person.relationships_as_target.all %}
+ {% for activity in person.activities.all %}
- | {{ relationship.source }} |
+ {{ activity }} |
Profile
- |
-
- Relationship Detail
+ href="{% url 'activities:activity.detail' pk=activity.pk %}">Details
|
{% empty %}
- | No known relationships |
+ No records |
-
{% endfor %}