From 28f6963ff402124ef40da0e527241b7b37219c75 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Fri, 11 Dec 2020 16:02:47 +0100 Subject: [PATCH] fix: [UI trackers] None trackers values --- .../hunter/templates/trackersManagement.html | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/var/www/modules/hunter/templates/trackersManagement.html b/var/www/modules/hunter/templates/trackersManagement.html index fee4b2ba..007d8046 100644 --- a/var/www/modules/hunter/templates/trackersManagement.html +++ b/var/www/modules/hunter/templates/trackersManagement.html @@ -67,10 +67,12 @@ - {% if dict_uuid['term']|length > 256 %} - {{ dict_uuid['term'][0:256]}}... - {% else %} - {{ dict_uuid['term']}} + {% if dict_uuid['term']%} + {% if dict_uuid['term']|length > 256 %} + {{ dict_uuid['term'][0:256]}}... + {% else %} + {{ dict_uuid['term']}} + {% endif %} {% endif %} @@ -128,10 +130,12 @@ - {% if dict_uuid['term']|length > 256 %} - {{ dict_uuid['term'][0:256]}}... - {% else %} - {{ dict_uuid['term']}} + {% if dict_uuid['term']%} + {% if dict_uuid['term']|length > 256 %} + {{ dict_uuid['term'][0:256]}}... + {% else %} + {{ dict_uuid['term']}} + {% endif %} {% endif %}