{% extends 'layout.html' %} {% load humanize %}l {% block content %}

Notifications

{% csrf_token %}
{% for notification in notifications %}
{{ notification.created_date | naturaltime }} {% if notification.related_user %} {% include 'snippets/username.html' with user=notification.related_user %} {% if notification.notification_type == 'FAVORITE' %} favorited your status {% elif notification.notification_type == 'REPLY' %} replied to your status {% elif notification.notification_type == 'FOLLOW' %} followed you {% elif notification.notification_type == 'FOLLOW_REQUEST' %} sent you a follow request
{% include 'snippets/follow_request_buttons.html' with user=notification.related_user %}
{% elif notification.notification_type == 'BOOST' %} boosted your status {% endif %} {% else %} your import completed. {% endif %}
{% endfor %} {% if not notifications %}

You're all caught up!

{% endif %}
{% endblock %}