Generate a notification for pending follow requests.

This commit is contained in:
Adam Kelly
2020-03-13 13:13:32 +00:00
parent ec45f8d565
commit 6b5644ed00
4 changed files with 10 additions and 3 deletions

View File

@ -25,6 +25,10 @@
{% elif notification.notification_type == 'FOLLOW' %}
{% include 'snippets/username.html' with user=notification.related_user %}
followed you
{% elif notification.notification_type == 'FOLLOW_REQUEST' %}
{% include 'snippets/username.html' with user=notification.related_user %}
sent you a follow request
{% endif %}
<small>{{ notification.created_date | naturaltime }}</small>
</p>