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 %}<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: {% block block_content %} bgneal@444: {% if birthdays %} bgneal@534: <ul class="no-bullet"> bgneal@444: {% for bday in birthdays %} bgneal@444: <li> bgneal@444: {% if bday.day == today.day %}<strong>{% endif %} bgneal@444: {{ bday.day|ordinal }} – bgneal@444: {% for profile in bday.profiles %} bgneal@534: <a href="{% url 'bio-view_profile' profile.user.username %}" title="View profile for {{ profile.user.username }}">{{ profile.user.username }}</a>{% if not forloop.last %}, {% endif %} bgneal@444: {% endfor %} bgneal@444: {% if bday.day == today.day %}</strong>{% endif %} bgneal@444: </li> bgneal@421: {% endfor %} bgneal@421: </ul> bgneal@421: {% else %} bgneal@421: <p>No birthdays this month.</p> bgneal@421: {% endif %} bgneal@421: {% endblock %}