comparison mysite/templates/band/buy.html @ 12:d771b81e927e

Incorporate blueprints css into the site design.
author Brian Neal <bgneal@gmail.com>
date Tue, 11 May 2010 23:18:32 +0000
parents 0dcfcdf50c62
children
comparison
equal deleted inserted replaced
11:89978c135246 12:d771b81e927e
2 {% block title %}The Madeira | Merchandise{% endblock %} 2 {% block title %}The Madeira | Merchandise{% endblock %}
3 {% block content %} 3 {% block content %}
4 <h1>Madeira Merchandise</h1> 4 <h1>Madeira Merchandise</h1>
5 {% for album in albums %} 5 {% for album in albums %}
6 <h2>{{ album.title }} </h2> 6 <h2>{{ album.title }} </h2>
7 <div style="float: right;"> 7 <p>
8 <img src="{{ album.photo.image.url }}" alt="{{ album.title }}" title="{{ album.title }}" /> 8 <img class="right" src="{{ album.photo.image.url }}" alt="{{ album.title }}" title="{{ album.title }}" />
9 </div> 9 </p>
10 {% if album.label_release_set %} 10 {% if album.label_release_set %}
11 <ul> 11 <ul>
12 {% for release in album.label_release_set.all %} 12 {% for release in album.label_release_set.all %}
13 <li><a href="{{ release.record_label.url }}">{{ release.record_label.name }}</a> 13 <li><a href="{{ release.record_label.url }}">{{ release.record_label.name }}</a>
14 {{ release.catalog_number }}, {{ release.release_date|date:"F d, Y" }}</li> 14 {{ release.catalog_number }}, {{ release.release_date|date:"F d, Y" }}</li>
36 <hr /> 36 <hr />
37 {{ config.ordering_info|safe|linebreaks }} 37 {{ config.ordering_info|safe|linebreaks }}
38 {% endif %} 38 {% endif %}
39 {% for item in merchandise %} 39 {% for item in merchandise %}
40 <h2>{{ item.name }}</h2> 40 <h2>{{ item.name }}</h2>
41 <div style="float: right;"> 41 <p>
42 <img src="{{ item.photo.image.url }}" alt="{{ item.name }}" title="{{ item.name }}" /> 42 <img class="right" src="{{ item.photo.image.url }}" alt="{{ item.name }}" title="{{ item.name }}" />
43 </div> 43 </p>
44 {{ item.desc|safe|linebreaks }} 44 {{ item.desc|safe|linebreaks }}
45 {% if item.in_stock %} 45 {% if item.in_stock %}
46 <p>Price: ${{ item.price }}</p> 46 <p>Price: ${{ item.price }}</p>
47 {% else %} 47 {% else %}
48 <p><strike>Price: ${{ item.price }}</strike> <strong>SOLD OUT!</strong></p> 48 <p><strike>Price: ${{ item.price }}</strike> <strong>SOLD OUT!</strong></p>