add cast and crew to productions

This commit is contained in:
Sanjay B 2013-09-04 15:59:30 +05:30
parent cd475065e0
commit 5421eaecbc

View File

@ -133,6 +133,32 @@ $(function() {
</div> <!-- end about -->
<div id="cast" class="tab_content">
<h5 class="orangeInnerRight">Cast and Crew</h5>
<br />
{% if people %}
{% for p in people %}
<div class="productionEach">
<div class="productionEachImg">
<img src="" alt="/static/images/150x150.jpg" />
</div>
<div class="productionEachTextA">
{{ p.role }}: <a href="{{ p.person.get_absolute_url }}">{{ p.person.first_name }} {{ p.person.last_name }}</a>
<div>
{{ p.person.about|truncatewords:80 }}
</div>
<!-- <div></div> -->
</div>
<div class="clear"></div>
</div> <!-- end production each -->
{% endfor %}
{% endif %}
</div>
<div id="gallery" class="tab_content">