From b607c1b7ff420939f9fcc86b4de02d956e08cdc1 Mon Sep 17 00:00:00 2001 From: Sshafi Date: Wed, 25 Jan 2023 23:59:35 +0100 Subject: [PATCH] Update base.html Use SITE_NAME for upper left title on base page. This can be useful when using multiple powerdns admin in an organization. --- powerdnsadmin/templates/base.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/powerdnsadmin/templates/base.html b/powerdnsadmin/templates/base.html index 85b2f82..35bfc51 100644 --- a/powerdnsadmin/templates/base.html +++ b/powerdnsadmin/templates/base.html @@ -32,7 +32,13 @@ PDA - PowerDNS-Admin + + {% if SETTING.get('site_name') %} + {{ SITE_NAME }} + {% else %} + PowerDNS-Admin + {% endif %} +