From d6e64dce8e16c3c59e125fbc3709c00817e654a6 Mon Sep 17 00:00:00 2001 From: Carsten Rosenberg Date: Fri, 4 Jun 2021 15:24:49 +0200 Subject: [PATCH] fix some jinja typos --- powerdnsadmin/templates/admin_edit_account.html | 2 +- powerdnsadmin/templates/dashboard_domain.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/powerdnsadmin/templates/admin_edit_account.html b/powerdnsadmin/templates/admin_edit_account.html index 10344a8..caa7de7 100644 --- a/powerdnsadmin/templates/admin_edit_account.html +++ b/powerdnsadmin/templates/admin_edit_account.html @@ -84,7 +84,7 @@ diff --git a/powerdnsadmin/templates/dashboard_domain.html b/powerdnsadmin/templates/dashboard_domain.html index 4ff566f..8a70e1b 100644 --- a/powerdnsadmin/templates/dashboard_domain.html +++ b/powerdnsadmin/templates/dashboard_domain.html @@ -15,7 +15,7 @@ {% endmacro %} {% macro serial(domain) %} - {% if domain.serial == 0 %}{{ domain.notified_serial }}{% else %}{{ domain.serial }}{% endif %} + {% if domain.serial == '0' %}{{ domain.notified_serial }}{% else %}{{ domain.serial }}{% endif %} {% endmacro %} {% macro master(domain) %}