We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diff --git a/powerdnsadmin/routes/dashboard.py b/powerdnsadmin/routes/dashboard.py index e04c6de..79ff93c 100644 --- a/powerdnsadmin/routes/dashboard.py +++ b/powerdnsadmin/routes/dashboard.py @@ -172,7 +172,9 @@ 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..d0d8a44 100644 --- a/powerdnsadmin/templates/base.html +++ b/powerdnsadmin/templates/base.html @@ -171,6 +171,9 @@ <script type="text/javascript"> $SCRIPT_ROOT = {{ request.script_root|tojson|safe }}; </script> + <script type="text/javascript"> + var PDNS_VERSION = '{{ pdns_version }}' + </script> {% block scripts %} {% assets "js_main" -%} <script type="text/javascript" src="{{ ASSET_URL }}"></script>
The text was updated successfully, but these errors were encountered:
5567886
Nice catch! I didn't know that I broke it. Thanks for reporting. I submit a fix in the above commit.
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: