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" -%}