Mercurial > public > sg101
comparison gpp/templates/potd/view.html @ 53:f882ac8ce255
Fix xhtml error in POTD template.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 21 Jun 2009 22:41:58 +0000 |
parents | 7b6540b185d9 |
children | 2d299909e074 |
comparison
equal
deleted
inserted
replaced
52:127ba8b24b52 | 53:f882ac8ce255 |
---|---|
15 <h2>Photo Of The Day</h2> | 15 <h2>Photo Of The Day</h2> |
16 <h3>{% now "l, F d, Y" %}</h3> | 16 <h3>{% now "l, F d, Y" %}</h3> |
17 {% else %} | 17 {% else %} |
18 <h2>Photo Of The Day Archives</h2> | 18 <h2>Photo Of The Day Archives</h2> |
19 {% endif %} | 19 {% endif %} |
20 {% if potd %} | |
20 <div class="potd-details"> | 21 <div class="potd-details"> |
21 {% if potd %} | |
22 <img src="{{ potd.photo.url }}" alt="{{ potd.caption }}" title="{{ potd.caption }}" /> | 22 <img src="{{ potd.photo.url }}" alt="{{ potd.caption }}" title="{{ potd.caption }}" /> |
23 <p class="caption">{{ potd.caption }}</p> | 23 <p class="caption">{{ potd.caption }}</p> |
24 <p class="details"> | 24 <p class="details"> |
25 Submitted by | 25 Submitted by |
26 <a href="{% url bio-view_profile username=potd.user.username %}">{{ potd.user.username }}</a> | 26 <a href="{% url bio-view_profile username=potd.user.username %}">{{ potd.user.username }}</a> |