moviewyrm/bookwyrm/templates/notifications/item.html

21 lines
1,001 B
HTML
Raw Normal View History

2021-10-02 14:58:20 +00:00
{# load the right template #}
2021-10-02 16:50:48 +00:00
{% if notification.notification_type == 'MENTION' %}
2021-10-02 17:46:09 +00:00
{% include 'notifications/items/mention.html' %}
2021-10-02 16:50:48 +00:00
{% elif notification.notification_type == 'REPLY' %}
2021-10-02 17:46:09 +00:00
{% include 'notifications/items/reply.html' %}
2021-10-02 16:50:48 +00:00
{% elif notification.notification_type == 'BOOST' %}
2021-10-02 17:46:09 +00:00
{% include 'notifications/items/boost.html' %}
2021-10-02 16:50:48 +00:00
{% elif notification.notification_type == 'FAVORITE' %}
2021-10-02 17:46:09 +00:00
{% include 'notifications/items/fav.html' %}
2021-10-02 16:50:48 +00:00
{% elif notification.notification_type == 'FOLLOW' %}
2021-10-02 17:46:09 +00:00
{% include 'notifications/items/follow.html' %}
2021-10-02 16:50:48 +00:00
{% elif notification.notification_type == 'FOLLOW_REQUEST' %}
2021-10-02 17:46:09 +00:00
{% include 'notifications/items/follow_request.html' %}
2021-10-02 16:50:48 +00:00
{% elif notification.notification_type == 'IMPORT' %}
2021-10-02 17:46:09 +00:00
{% include 'notifications/items/import.html' %}
2021-10-02 16:50:48 +00:00
{% elif notification.notification_type == 'ADD' %}
2021-10-02 17:46:09 +00:00
{% include 'notifications/items/add.html' %}
2021-10-02 16:50:48 +00:00
{% elif notification.notification_type == 'REPORT' %}
2021-10-02 17:46:09 +00:00
{% include 'notifications/items/report.html' %}
2021-10-02 16:50:48 +00:00
{% endif %}