moviewyrm/bookwyrm/templates/notifications/item.html

37 lines
1.8 KiB
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' %}
{% elif notification.notification_type == 'INVITE' %}
{% include 'notifications/items/invite.html' %}
{% elif notification.notification_type == 'ACCEPT' %}
{% include 'notifications/items/accept.html' %}
{% elif notification.notification_type == 'JOIN' %}
{% include 'notifications/items/join.html' %}
{% elif notification.notification_type == 'LEAVE' %}
{% include 'notifications/items/leave.html' %}
{% elif notification.notification_type == 'REMOVE' %}
{% include 'notifications/items/remove.html' %}
{% elif notification.notification_type == 'GROUP_PRIVACY' %}
{% include 'notifications/items/update.html' %}
{% elif notification.notification_type == 'GROUP_NAME' %}
{% include 'notifications/items/update.html' %}
{% elif notification.notification_type == 'GROUP_DESCRIPTION' %}
{% include 'notifications/items/update.html' %}
2021-10-02 16:50:48 +00:00
{% endif %}