From ea711a6be702362fed8135a3560e0ce8325a47c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Mon, 12 Jul 2021 11:02:15 +0200 Subject: [PATCH] Show new admin banner to admins only --- modoboa/core/templates/core/dashboard.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modoboa/core/templates/core/dashboard.html b/modoboa/core/templates/core/dashboard.html index 6169b6341..ae96a0ad6 100644 --- a/modoboa/core/templates/core/dashboard.html +++ b/modoboa/core/templates/core/dashboard.html @@ -5,10 +5,12 @@ {% block pagetitle %}{% trans "Dashboard" %}{% endblock %} {% block container_content %} + {% if user.is_admin %}
Want to check the new admin interface? Go to Modoboa v2
+ {% endif %}