From e9211738bc861d6c1a4760436b92c3bc2139711e Mon Sep 17 00:00:00 2001 From: Johnson Chetty Date: Fri, 31 Aug 2012 22:57:20 +0200 Subject: [PATCH] person template ... data points added to templates..revision 1.0 --- itf/templates/modules/itfprofiles/person.html | 198 ++++++++++++++++++ 1 file changed, 198 insertions(+) diff --git a/itf/templates/modules/itfprofiles/person.html b/itf/templates/modules/itfprofiles/person.html index 31777dd..7075174 100644 --- a/itf/templates/modules/itfprofiles/person.html +++ b/itf/templates/modules/itfprofiles/person.html @@ -11,14 +11,212 @@
A brief bio and a history of work. should be able to add photos here + + {% if image %} + Photo : + + {% endif %} + + + {% if first_name %} + Name : {{ first_name }} + {% endif %}
+ {% if last_name %} + {{ last_name }} + {% endif %}
+
+ + {% if about %} + About : {{ about }} + {% endif %}
+ {% if user %} + Username : {{ user }} + {% endif %}
+ {% if tel_no %} + Tel_no : {{ tel_no }} + {% endif %}
+ + {% if dob %} + Date-of-birth : {{ dob }} + {% endif %}
+ + {% if is_practioner %} + Practioner {{ is_practioner }} + {% endif %}
+ {% if is_enthusiast %} + Enthusiast : {{ is_enthusiast }} + {% endif %}
+ {% if is_freelancer %} + Freelancer : {{ is_freelancer }} + {% endif %}
+ {% if gender %} + Gender : {{ gender }} + {% endif %}
+ + {% if occupations %} +
+ Occupations: +
    + {% for work in occupations %} +
  • {{ work.name }} {% if work.is_main %} - Primary occupation {% endif %}
  • + {% endfor %} +
+
+ {% endif %} + + {% if locations %} +
+ Locations: +
    + {% for place in locations %} +
  • + {{ place.city }} +
  • + {% endfor %} +
+
+ {% endif %} + + + {% if trainings %} +
+ Trainings: +
    + {% for training in trainings %} +
  • {{ training }} {{ training.title }} {{ training.desc }} {{ training.person }} {{ training.area }} {{ training.with_whom }} {{ training.where }} {{ training.from_when }} {{ training.until_when }} +
  • + {% for loc in training.locations.all %} {{ loc.city }} {% endfor %} + {% endfor %} +
+
+ {% endif %} + + + {% if languages %} +
+ Languages: +
    + {% for elem in languages %} +
  • + {{ elem.name }} +
  • + {% endfor %} +
+
+ {% endif %}
+ + + {% if awards %} +
+ Awards: + +
+ {% endif %} + + + {% if buzzitems %} +
+ Buzz Items: + + +
+ {% endif %} + + + + +
Active Members, Associates, (Fans? - maybe this is a link with a list popout, so they are not perceived as internal to the group). Photos of users on site should show up. We must SEE the community. Noel needs to send a design for tha tab, which will be used across all "People" tabs. + + {% if groups %} +
+ Theatre Groups: + +
+ {% endif %}
+ + + + {% if connections_from or connections_to %} +
+ Connections: + {% if connections_from %}
    + {% for elem in connections_from %} +
  • + {{ elem.relation.name }} + {{ person2.name }} +
  • + {% endfor %} + {% endif %} + + {% if connections_to %}
      + {% for elem in connections_to %} +
    • + {{ elem.relation.name }} + {{ person1.name }} +
    • + {% endfor %} + {% endif %} +
    +
+ {% endif %}
+ + + + +
Title of each production links to "Productions" page. + + {% if productions %} +
+ Productions: + +
+ {% endif %}
+ + +