From 5421eaecbcd5df2da34ff22561d0008501c5ce0d Mon Sep 17 00:00:00 2001 From: Sanjay B Date: Wed, 4 Sep 2013 15:59:30 +0530 Subject: [PATCH] add cast and crew to productions --- .../modules/itfprofiles/production.html | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/itf/templates/modules/itfprofiles/production.html b/itf/templates/modules/itfprofiles/production.html index edddeb2..e7c113b 100644 --- a/itf/templates/modules/itfprofiles/production.html +++ b/itf/templates/modules/itfprofiles/production.html @@ -133,6 +133,32 @@ $(function() {
+ + +
Cast and Crew
+
+ {% if people %} + {% for p in people %} + +
+
+ /static/images/150x150.jpg +
+ +
+ {{ p.role }}: {{ p.person.first_name }} {{ p.person.last_name }} +
+ {{ p.person.about|truncatewords:80 }} +
+ +
+
+ +
+ + {% endfor %} + {% endif %} +