mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
fixed template for #28
This commit is contained in:
parent
88c6d6ee33
commit
f5a0052a06
@ -2,14 +2,18 @@
|
|||||||
{% block title %}<title>DNS Control Panel - Domain Management</title>{% endblock %}
|
{% block title %}<title>DNS Control Panel - Domain Management</title>{% endblock %}
|
||||||
|
|
||||||
{% block dashboard_stat %}
|
{% block dashboard_stat %}
|
||||||
{% if status != None %}
|
{% if status %}
|
||||||
{% if status['status'] == 'ok' %}
|
{% if status.get('status') == 'ok' %}
|
||||||
<div class="alert alert-success">
|
<div class="alert alert-success">
|
||||||
<strong>Success!</strong> {{ status['msg'] }}
|
<strong>Success!</strong> {{ status.get('msg') }}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% elif status.get('status') == 'error' %}
|
||||||
<div class="alert alert-danger">
|
<div class="alert alert-danger">
|
||||||
<strong>Error!</strong> {{ status['msg'] }}
|
{% if status.get('msg') != None %}
|
||||||
|
<strong>Error!</strong> {{ status.get('msg') }}
|
||||||
|
{% else %}
|
||||||
|
<strong>Error!</strong> An undefined error occurred.
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user