Change serial displaying in dashboard

When pdns not give us serial just notified serial, we need
to display that.
This commit is contained in:
SIPOS, Peter 2016-11-21 14:51:36 +01:00
parent bbfbe3683e
commit 4ec70f4143

View File

@ -168,7 +168,7 @@
{{ domain.type }}
</td>
<td>
{{ domain.serial }}
{% if domain.serial == 0 %}{{ domain.notified_serial }}{% else %}{{domain.serial}}{% endif %}
</td>
<td>
{% if domain.master == '[]'%}N/A {% else %}{{ domain.master|display_master_name }}{% endif %}