Read powerdns api setting from DB

This commit is contained in:
Khanh Ngo
2018-08-20 09:59:19 +07:00
parent f8f4ddcc85
commit 0b7580c82f
6 changed files with 100 additions and 126 deletions

View File

@ -104,7 +104,7 @@
{% endblock %}
{% block extrascripts %}
<script>
PDNS_VERSION = '{{ pdns_version }}'
PDNS_VERSION = '{{ SETTING.get("pdns_version") }}'
// superglobals
window.records_allow_edit = {{ editable_records|tojson }};
window.nEditing = null;