diff --git a/people/templates/people/person/detail.html b/people/templates/people/person/detail.html index 30c8430..367bac5 100644 --- a/people/templates/people/person/detail.html +++ b/people/templates/people/person/detail.html @@ -22,81 +22,81 @@ {% endif %} -
- {% if person.nationality %} -
Nationality
-
{{ person.nationality.name }}
- {% endif %} - {% if person.country_of_residence %} -
Country of Residence
-
{{ person.country_of_residence.name }}
- {% endif %} + {% with person.current_answers as answer_set %} +
+
- {% if person.organisation %} -
Organisation
-
{{ person.organisation }}
+ + + + + + + - {% if person.organisation_started_date %} -
Started Date
-
{{ person.organisation_started_date }}
+ + {% if answer_set.nationality %} + {% endif %} - {% endif %} - {% if person.job_title %} -
Job Title
-
{{ person.job_title }}
- {% endif %} + {% if answer_set.country_of_residence %} + + {% endif %} - {% if person.disciplines %} -
Discipline(s)
-
{{ person.disciplines }}
- {% endif %} + {% if answer_set.organisation %} + + {% endif %} - {% if person.themes.exists %} -
Project Themes
-
- {% for theme in person.themes.all %} - {{ theme }}{% if not forloop.last %}, {% endif %} - {% endfor %} -
- {% endif %} - + {% if answer_set.organisation_started_date %} + + {% endif %} + + {% if answer_set.job_title %} + + {% endif %} + + {% if answer_set.disciplines %} + + {% endif %} + + {% if answer_set.themes.exists %} + + + + + {% endif %} + + {% for answer in answer_set.question_answers.all %} + + + + + + {% empty %} + + + + {% endfor %} + +
QuestionAnswer
Nationality{{ answer_set.nationality.name }}
Country of Residence{{ answer_set.country_of_residence.name }}
Organisation{{ answer_set.organisation }}
Organisation Started Date{{ answer_set.organisation_started_date }}
Job Title{{ answer_set.job_title }}
Discipline(s){{ answer_set.disciplines }}
Project Themes + {% for theme in answer_set.themes.all %} + {{ theme }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
{{ answer.question }}{{ answer }}
No records
+ +

Last updated: {{ answer_set.timestamp }}

+ {% endwith %} + + Update + + {% if person.user == request.user %} + Change Password + {% endif %} {% endif %} - {% with person.current_answers as answer_set %} - - - - - - - - - - {% for answer in answer_set.question_answers.all %} - - - - - - {% empty %} - - - - {% endfor %} - -
QuestionAnswer
{{ answer.question }}{{ answer }}
No records
- -

Last updated: {{ answer_set.timestamp }}

- {% endwith %} - - Update - - Change Password -