From 3c37354789556b571bf4e03f26a2d38c0c935372 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 5 Aug 2023 18:17:20 +0200 Subject: [PATCH] Continued: - don't link or show 'None', just a dash is okay --- templates/views/scoreboard.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/views/scoreboard.html b/templates/views/scoreboard.html index 043634a..034c405 100644 --- a/templates/views/scoreboard.html +++ b/templates/views/scoreboard.html @@ -44,7 +44,9 @@ {{loop.index}} - {% if mode in ('error_code', 'obfuscation') %} + {% if entry['domain'] == None %} + - + {% elif mode in ('error_code', 'obfuscation') %} {{entry['domain']}} {% elif mode == 'block_level' %} {{entry['domain']}} @@ -52,8 +54,6 @@ {{entry['domain']}} {% elif mode in ('software', 'detection_mode', 'command') %} {{entry['domain']}} - {% elif entry['domain'] == None %} - - {% else %} {% with domain=entry['domain'] %} {% include "widgets/links.html" %} -- 2.39.5