diff --git a/blueprints/admin.py b/blueprints/admin.py index 72f5c2b..60dbc6c 100644 --- a/blueprints/admin.py +++ b/blueprints/admin.py @@ -336,6 +336,12 @@ def admin_new() -> _Response: ) +@blueprint.route("/admin/direct_messages", methods=["GET"]) +@login_required +def admin_direct_messages() -> _Response: + return htmlify(render_template("direct_messages.html")) + + @blueprint.route("/admin/lists", methods=["GET"]) @login_required def admin_lists() -> _Response: diff --git a/templates/layout.html b/templates/layout.html index 2c7099c..5293261 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -39,6 +39,8 @@ dt, dd { font-size: 0.9em; } {% if unread_notifications_count %} ({{unread_notifications_count}}) {% endif %} +