mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-04-28 13:04:43 +00:00
46 lines
2.4 KiB
HTML
46 lines
2.4 KiB
HTML
{# load the right template #}
|
|
{% if notification.notification_type == 'MENTION' %}
|
|
{% include 'notifications/items/mention.html' %}
|
|
{% elif notification.notification_type == 'REPLY' %}
|
|
{% include 'notifications/items/reply.html' %}
|
|
{% elif notification.notification_type == 'BOOST' %}
|
|
{% include 'notifications/items/boost.html' %}
|
|
{% elif notification.notification_type == 'FAVORITE' %}
|
|
{% include 'notifications/items/fav.html' %}
|
|
{% elif notification.notification_type == 'FOLLOW' %}
|
|
{% include 'notifications/items/follow.html' %}
|
|
{% elif notification.notification_type == 'FOLLOW_REQUEST' %}
|
|
{% include 'notifications/items/follow_request.html' %}
|
|
{% elif notification.notification_type == 'IMPORT' %}
|
|
{% include 'notifications/items/import.html' %}
|
|
{% elif notification.notification_type == 'USER_IMPORT' %}
|
|
{% include 'notifications/items/user_import.html' %}
|
|
{% elif notification.notification_type == 'USER_EXPORT' %}
|
|
{% include 'notifications/items/user_export.html' %}
|
|
{% elif notification.notification_type == 'ADD' %}
|
|
{% include 'notifications/items/add.html' %}
|
|
{% elif notification.notification_type == 'REPORT' %}
|
|
{% include 'notifications/items/report.html' %}
|
|
{% elif notification.notification_type == 'LINK_DOMAIN' %}
|
|
{% include 'notifications/items/link_domain.html' %}
|
|
{% elif notification.notification_type == 'INVITE_REQUEST' %}
|
|
{% include 'notifications/items/invite_request.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' %}
|
|
{% elif notification.notification_type == 'MOVE' %}
|
|
{% include 'notifications/items/move_user.html' %}
|
|
{% endif %}
|