add groups on events template

This commit is contained in:
Sanjay B 2013-04-15 15:50:25 +05:30
parent af7d07fcf7
commit dea488a12e

View File

@ -61,6 +61,7 @@ $(function() {
</div> <!-- end calendar -->
<div id="people" class="tab_content">
{% if people.organisers %}
<h5>Organisers</h5>
@ -122,6 +123,27 @@ $(function() {
{% endfor %}
{% endif %}
{% if groups.performing %}
<h5>Groups Performing</h5>
{% for group in groups.performing %}
<div class="productionEach">
<div class="productionEachImg">
<img src="{{ group.get_image }}" alt="{{ group.name }}" />
</div>
<div class="productionEachTextA">
<a href="{{ group.get_absolute_url }}">{{ group.name }}</a>
<div>{{ group.locations.0.city.name }}</div>
</div>
<div class="clear"></div>
</div> <!-- end production each -->
{% endfor %}
</div>