diff --git a/web/templates/settings/home.html b/web/templates/settings/home.html index bc4e2a9..f71a919 100644 --- a/web/templates/settings/home.html +++ b/web/templates/settings/home.html @@ -103,6 +103,66 @@ {% endif %} +{% if user.is_superuser %} +
+ Publish a message to show once to each user on their next search page load. +
+ + + + {% if announcements_recent %} +| ID | Title | Active? | Window | Created |
|---|---|---|---|---|
| #{{ a.id }} | +{{ a.title|default:"(untitled)" }} | +{{ a.is_current|yesno:"✅,—" }} | ++ {{ a.start_at|date:"Y-m-d H:i" }} + {% if a.end_at %} → {{ a.end_at|date:"Y-m-d H:i" }}{% endif %} + | +{{ a.created_at|date:"Y-m-d H:i" }} | +