Mercurial > public > madeira
comparison mysite/templates/band/index.html @ 6:fa724fb48b2c
Show country on home page for upcoming shows if outside the USA.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 14 May 2009 00:53:26 +0000 |
parents | 0dcfcdf50c62 |
children | d771b81e927e |
comparison
equal
deleted
inserted
replaced
5:e602b5302b94 | 6:fa724fb48b2c |
---|---|
32 </tr></table></center> | 32 </tr></table></center> |
33 | 33 |
34 <ul> | 34 <ul> |
35 {% for show in upcomingDates %} | 35 {% for show in upcomingDates %} |
36 <li><strong>{{ show.date|date:"l, F d" }}</strong>: {{ show.venue.name }}, {{ show.venue.city.name }}{% if show.venue.city.state %}, {{ show.venue.city.state.name }} | 36 <li><strong>{{ show.date|date:"l, F d" }}</strong>: {{ show.venue.name }}, {{ show.venue.city.name }}{% if show.venue.city.state %}, {{ show.venue.city.state.name }} |
37 {% endif %}</li> | 37 {% endif %} |
38 {% ifnotequal show.venue.city.country.name "USA" %} | |
39 {{ show.venue.city.country.name }} | |
40 {% endifnotequal %} | |
41 </li> | |
38 {% endfor %} | 42 {% endfor %} |
39 </ul> | 43 </ul> |
40 <center><a href="{% url mysite.band.views.gigs %}">See all upcoming shows...</a></center> | 44 <center><a href="{% url mysite.band.views.gigs %}">See all upcoming shows...</a></center> |
41 </div> | 45 </div> |
42 {% endif %} | 46 {% endif %} |