diff --git a/var/www/templates/objects/subtypes_objs_dashboard.html b/var/www/templates/objects/subtypes_objs_dashboard.html index e8cd3bc4..15c30f5a 100644 --- a/var/www/templates/objects/subtypes_objs_dashboard.html +++ b/var/www/templates/objects/subtypes_objs_dashboard.html @@ -182,8 +182,8 @@ {{ meta['id'] }} - {{meta['first_seen'][0:4]}}-{{meta['first_seen'][4:6]}}-{{meta['first_seen'][6:8]}} - {{meta['last_seen'][0:4]}}-{{meta['last_seen'][4:6]}}-{{meta['last_seen'][6:8]}} + {% if meta['first_seen'] %}{{meta['first_seen'][0:4]}}-{{meta['first_seen'][4:6]}}-{{meta['first_seen'][6:8]}}{% endif %} + {% if meta['last_seen'] %}{{meta['last_seen'][0:4]}}-{{meta['last_seen'][4:6]}}-{{meta['last_seen'][6:8]}}{% endif %} {{ meta['nb_seen'] }}