annotate gpp/templates/core/birthday_block.html @ 434:ffdeb403ad21

For #211; update the URL in the private messages notification email. Messages no longer have a get_absolute_url() method. Just send people to the main messages index.
author Brian Neal <bgneal@gmail.com>
date Thu, 12 May 2011 02:56:13 +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 %}