annotate gpp/templates/core/birthday_block.html @ 429:d0f0800eef0c

Making the jquery tabbed version of the messages app the current version and removing the old. Also figured out how to dynamically update the base template's count of unread messages when messages are read.
author Brian Neal <bgneal@gmail.com>
date Tue, 03 May 2011 02:56:58 +0000
parents 6309814cd6f7
children a0847158cf72
rev   line source
bgneal@421 1 {% extends 'side_block.html' %}
bgneal@421 2 {% load url from future %}
bgneal@421 3 {% load humanize %}
bgneal@422 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 %}
bgneal@421 5 {% block block_content %}
bgneal@421 6 {% if profiles %}
bgneal@421 7 <ul>
bgneal@421 8 {% for profile in profiles %}
bgneal@421 9 <li>{{ profile.birthday.day|ordinal }} &ndash; <a href="{% url 'bio-view_profile' username=profile.user.username %}">{{ profile.user.username }}</a></li>
bgneal@421 10 {% endfor %}
bgneal@421 11 </ul>
bgneal@421 12 {% else %}
bgneal@421 13 <p>No birthdays this month.</p>
bgneal@421 14 {% endif %}
bgneal@421 15 {% endblock %}