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 %}