Mercurial > public > sg101
comparison gpp/templates/core/birthday_block.html @ 422:6309814cd6f7
Tweaking birthday block
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 21 Apr 2011 02:23:34 +0000 |
parents | e06e866af4f1 |
children | a0847158cf72 |
comparison
equal
deleted
inserted
replaced
421:e06e866af4f1 | 422:6309814cd6f7 |
---|---|
1 {% extends 'side_block.html' %} | 1 {% extends 'side_block.html' %} |
2 {% load url from future %} | 2 {% load url from future %} |
3 {% load humanize %} | 3 {% load humanize %} |
4 {% block block_title %}{{ today|date:"F" }} Birthdays{% endblock %} | 4 {% block block_title %}<img src="{{ STATIC_URL }}icons/cake.png" alt="Cake" class="middle" /> {{ today|date:"F" }} Birthdays <img src="{{ STATIC_URL }}icons/cake.png" alt="Cake" class="middle" /> {% endblock %} |
5 {% block block_content %} | 5 {% block block_content %} |
6 {% if profiles %} | 6 {% if profiles %} |
7 <div class="centeredImage"><img src="{{ STATIC_URL }}icons/cake.png" alt="Cake" /></div> | |
8 <ul> | 7 <ul> |
9 {% for profile in profiles %} | 8 {% for profile in profiles %} |
10 <li>{{ profile.birthday.day|ordinal }} – <a href="{% url 'bio-view_profile' username=profile.user.username %}">{{ profile.user.username }}</a></li> | 9 <li>{{ profile.birthday.day|ordinal }} – <a href="{% url 'bio-view_profile' username=profile.user.username %}">{{ profile.user.username }}</a></li> |
11 {% endfor %} | 10 {% endfor %} |
12 </ul> | 11 </ul> |