From 68f5af26b6cad45473ce7cd4f961899eb0ab9eac Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 7 Oct 2021 18:08:55 +0200 Subject: [PATCH] dont show mail functions if not enabled --- InvenTree/templates/InvenTree/settings/user.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/InvenTree/templates/InvenTree/settings/user.html b/InvenTree/templates/InvenTree/settings/user.html index 27a7fd3506..569b218b43 100644 --- a/InvenTree/templates/InvenTree/settings/user.html +++ b/InvenTree/templates/InvenTree/settings/user.html @@ -12,6 +12,8 @@ {% endblock %} {% block content %} +{% mail_configured as mail_conf %} +
{% trans "Edit" %} @@ -67,7 +69,7 @@
- +