Mercurial > public > madeira
diff 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 |
line wrap: on
line diff
--- a/mysite/templates/band/index.html Thu May 14 00:31:39 2009 +0000 +++ b/mysite/templates/band/index.html Thu May 14 00:53:26 2009 +0000 @@ -34,7 +34,11 @@ <ul> {% for show in upcomingDates %} <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 }} -{% endif %}</li> +{% endif %} +{% ifnotequal show.venue.city.country.name "USA" %} +{{ show.venue.city.country.name }} +{% endifnotequal %} +</li> {% endfor %} </ul> <center><a href="{% url mysite.band.views.gigs %}">See all upcoming shows...</a></center>