bgneal@421: {% extends 'side_block.html' %}
bgneal@421: {% load url from future %}
bgneal@492: {% load bio_tags %}
bgneal@421: {% load humanize %}
bgneal@422: {% block block_title %} {{ today|date:"F" }} Birthdays {% endblock %}
bgneal@421: {% block block_content %}
bgneal@444: {% if birthdays %}
bgneal@534:
bgneal@444: {% for bday in birthdays %}
bgneal@444: -
bgneal@444: {% if bday.day == today.day %}{% endif %}
bgneal@444: {{ bday.day|ordinal }} –
bgneal@444: {% for profile in bday.profiles %}
bgneal@534: {{ profile.user.username }}{% if not forloop.last %}, {% endif %}
bgneal@444: {% endfor %}
bgneal@444: {% if bday.day == today.day %}{% endif %}
bgneal@444:
bgneal@421: {% endfor %}
bgneal@421:
bgneal@421: {% else %}
bgneal@421: No birthdays this month.
bgneal@421: {% endif %}
bgneal@421: {% endblock %}