diff --git a/templates/notifications/dashboard.html b/templates/notifications/dashboard.html new file mode 100644 index 0000000..3425fbd --- /dev/null +++ b/templates/notifications/dashboard.html @@ -0,0 +1,89 @@ +{% extends "shared/base.html" %} +{% load static %} + +{% block content %} +{% include "shared/navbar.html" %} + +
| Recipient | +Subject | +Status | +Created | +Sent At | +
|---|---|---|---|---|
| {{ n.recipient }} | ++ + {{ n.subject }} + + | ++ + {{ n.get_status_display }} + + | ++ {{ n.created_at|date:"M d, Y H:i" }} + | ++ {% if n.sent_at %}{{ n.sent_at|date:"M d, Y H:i" }}{% else %}-{% endif %} + | +
| No notifications yet. | +||||
{{ notification.recipient }}
+{{ notification.subject }}
++ {{ notification.created_at|date:"M d, Y H:i" }} +
++ {% if notification.sent_at %}{{ notification.sent_at|date:"M d, Y H:i" }}{% else %}-{% endif %} +
+{{ notification.message }}
+ + {{ notification.content_type }} — ID {{ notification.object_id }} +
+| Recipient | +Subject | +Status | +Created | +Sent At | +
|---|---|---|---|---|
| {{ n.recipient }} | ++ + {{ n.subject }} + + | ++ + {{ n.get_status_display }} + + | ++ {{ n.created_at|date:"M d, Y H:i" }} + | ++ {% if n.sent_at %}{{ n.sent_at|date:"M d, Y H:i" }}{% else %}-{% endif %} + | +
| No notifications found. | +||||