From 69457ca75e912d86f8d27631087484ff26ec9c40 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Wed, 20 Nov 2019 13:25:01 +0100 Subject: [PATCH] fix: [showDomain UI] fix template --- .../crawler/crawler_splash/showDomain.html | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/var/www/templates/crawler/crawler_splash/showDomain.html b/var/www/templates/crawler/crawler_splash/showDomain.html index 9cd92dc8..c1c2ec29 100644 --- a/var/www/templates/crawler/crawler_splash/showDomain.html +++ b/var/www/templates/crawler/crawler_splash/showDomain.html @@ -98,15 +98,17 @@ Last Origin: {{ dict_domain['origin_item'] }} {%endif%} - {% if in dict_domain.get('correlation_nb', 0) > 0 %} -
-
- - - -
+ {% if 'correlation_nb' in dict_domain %} + {% if dict_domain["correlation_nb"] > 0 %} +
+
+ + + +
+ {%endif%} {%endif%}