{% extends "common/base.html" %} {% from "components/header.html" import header %} {% block title %}Notifications - DocuPulse{% endblock %} {% block content %} {{ header( title="Notifications", description="View and manage your notifications", icon="fa-bell" ) }}
{% if notifications %} {% for notif in notifications %} {% endfor %} {% else %} {% endif %}
Timestamp Type From Details Status Actions
{{ notif.timestamp.strftime('%Y-%m-%d %H:%M:%S') }} {% if notif.notif_type == 'account_created' %} Account Created {% elif notif.notif_type == 'password_reset' %} Password Reset {% elif notif.notif_type == 'account_deleted' %} Account Deleted {% elif notif.notif_type == 'account_updated' %} Account Updated {% elif notif.notif_type == 'room_invite' %} Room Invite {% elif notif.notif_type == 'room_invite_removed' %} Room Invite Removed {% elif notif.notif_type == 'conversation_invite' %} Conversation Invite {% elif notif.notif_type == 'conversation_invite_removed' %} Conversation Invite Removed {% elif notif.notif_type == 'conversation_message' %} Conversation Message {% else %} {{ notif.notif_type }} {% endif %} {{ notif.sender.username if notif.sender else 'System' }} {% if notif.read %} Read {% else %} Unread {% endif %} {% if not notif.read %} {% endif %}
No notifications found
Page {{ current_page }} of {{ total_pages }}
{% block extra_js %} {% endblock %} {% endblock %}