From 0e66f85b7ecf1736435387e7858bdddc7f961ae5 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Mon, 6 Aug 2012 20:26:08 +0100 Subject: [PATCH] Make the blacklist entries look a little better --- app/hr/templates/hr/blacklist_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hr/templates/hr/blacklist_list.html b/app/hr/templates/hr/blacklist_list.html index 1bf8656..7bb6c3b 100644 --- a/app/hr/templates/hr/blacklist_list.html +++ b/app/hr/templates/hr/blacklist_list.html @@ -26,7 +26,7 @@ {% for obj in object_list %} - {{ obj.id }}{{ obj.get_type_display }}{{ obj.value }}{{ obj.get_level_display }}{{ obj.reason }}{{ obj.expiry_date }} + {{ obj.id }}{{ obj.get_type_display }}{{ obj.value }}{{ obj.get_level_display }}{{ obj.reason }}{% if obj.expiry_date %}{{ obj.expiry_date }}{% else %}N/A{% endif %} {% endfor %}