bgneal@421: {% extends 'side_block.html' %}
bgneal@421: {% load url from future %}
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@421: {% if profiles %}
bgneal@421:    <ul>
bgneal@421:    {% for profile in profiles %}
bgneal@421:       <li>{{ profile.birthday.day|ordinal }} &ndash; <a href="{% url 'bio-view_profile' username=profile.user.username %}">{{ profile.user.username }}</a></li>
bgneal@421:    {% endfor %}
bgneal@421:    </ul>
bgneal@421: {% else %}
bgneal@421:    <p>No birthdays this month.</p>
bgneal@421: {% endif %}
bgneal@421: {% endblock %}