Mercurial > public > sg101
diff gpp/templates/donations/index.html @ 67:4ec8d1d0ccbd
Donations: make an ordered list of the donors.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 27 Jun 2009 22:22:22 +0000 |
parents | 9a29e9933959 |
children | daa2916f5b34 |
line wrap: on
line diff
--- a/gpp/templates/donations/index.html Sat Jun 27 22:20:35 2009 +0000 +++ b/gpp/templates/donations/index.html Sat Jun 27 22:22:22 2009 +0000 @@ -26,7 +26,7 @@ <div class="span-9 last"> <h3>Donors for {% now "F, Y" %}:</h3> {% if donations %} -<ul> +<ol> {% for donation in donations %} <li> {% if donation.is_anonymous %} @@ -40,7 +40,7 @@ {% endif %} </li> {% endfor %} -</ul> +</ol> {% else %} <p>We haven't received any donations this month. You could be the first!</p> {% endif %}