{% 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" ) }}
| 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 + ' ' + notif.sender.last_name if notif.sender else 'System' }} | {% if notif.read %} Read {% else %} Unread {% endif %} |
{% if notif.notif_type in ['room_invite', 'room_invite_removed'] and notif.details and notif.details.room_id %}
View Room
{% elif notif.notif_type in ['conversation_invite', 'conversation_invite_removed', 'conversation_message'] and notif.details and notif.details.conversation_id %}
View Conversation
{% endif %}
{% if not notif.read %}
{% endif %}
|
|
| No notifications found | |||||