From 5567886aa33acac6b393ba424c4c612beb63307d Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Thu, 19 Dec 2019 21:50:15 +0700 Subject: [PATCH] Fix #614. Can not enable dnssec --- powerdnsadmin/routes/dashboard.py | 3 ++- powerdnsadmin/templates/base.html | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/powerdnsadmin/routes/dashboard.py b/powerdnsadmin/routes/dashboard.py index e04c6de..b59a297 100644 --- a/powerdnsadmin/routes/dashboard.py +++ b/powerdnsadmin/routes/dashboard.py @@ -172,7 +172,8 @@ def dashboard(): history_number=history_number, uptime=uptime, histories=history, - show_bg_domain_button=BG_DOMAIN_UPDATE) + show_bg_domain_button=BG_DOMAIN_UPDATE, + pdns_version=Setting().get('pdns_version')) @dashboard_bp.route('/domains-updater', methods=['GET', 'POST']) diff --git a/powerdnsadmin/templates/base.html b/powerdnsadmin/templates/base.html index 4d9ad6c..2374b99 100644 --- a/powerdnsadmin/templates/base.html +++ b/powerdnsadmin/templates/base.html @@ -171,6 +171,9 @@ + {% block scripts %} {% assets "js_main" -%}