- {% if notification.notification_type == 'FAVORITE' %}
- {% include 'snippets/username.html' with user=notification.related_user %}
- favorited your
- status
+
+
Notifications
- {% elif notification.notification_type == 'REPLY' %}
- {% include 'snippets/username.html' with user=notification.related_user %}
-
replied
- to your
-
status
+
+
- {% elif notification.notification_type == 'FOLLOW' %}
- {% include 'snippets/username.html' with user=notification.related_user %}
- followed you
+
+ {% for notification in notifications %}
+
+
{{ notification.created_date | naturaltime }}
+ {% include 'snippets/username.html' with user=notification.related_user %}
+ {% if notification.notification_type == 'FAVORITE' %}
+ favorited your
+
status
- {% elif notification.notification_type == 'FOLLOW_REQUEST' %}
- {% include 'snippets/username.html' with user=notification.related_user %}
- sent you a follow request
+ {% 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 %}
- {% endif %}
- {{ notification.created_date | naturaltime }}
-
-
- {% endfor %}
+
+ {% endif %}