From 0e42e598f87d50d3d6179cadbb2bd0a840bdbc91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 8 Jul 2024 23:09:27 +0200 Subject: [PATCH] Continued: - removed redundant dashes --- templates/views/list.html | 10 +++++----- templates/views/top.html | 7 ++++++- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/templates/views/list.html b/templates/views/list.html index 6d6b190..8c55257 100644 --- a/templates/views/list.html +++ b/templates/views/list.html @@ -1,11 +1,11 @@ {% extends "base.html" %} {% block title %} - {% if mode == 'detection_mode' %} - Detection mode {{value}} - {% elif mode == 'original_software' %} - Original software {{value}} - {% elif mode == 'software' %} - Used software {{value}} - {% elif mode == 'command' %} - Command {{value}} - {% elif mode == 'recently' %} - {{amount}} recently added instances + {% if mode == 'detection_mode' %} Detection mode {{value}} + {% elif mode == 'original_software' %} Original software {{value}} + {% elif mode == 'software' %} Used software {{value}} + {% elif mode == 'command' %} Command {{value}} + {% elif mode == 'recently' %} {{amount}} recently added instances {% endif %} {% endblock %} diff --git a/templates/views/top.html b/templates/views/top.html index 9b0d1c3..eb8169e 100644 --- a/templates/views/top.html +++ b/templates/views/top.html @@ -1,6 +1,11 @@ {% extends "base.html" %} -{% block title %}{% if mode == 'domain' %} - Instances that block {{value}}{% elif mode == 'reverse' %} - Instances that are blocked by {{value}}{% elif mode == 'reason' %} - Instances having block reason {{value}}{% endif %}{% endblock %} +{% block title %} + {% if mode == 'domain' %} Instances that block {{value}} + {% elif mode == 'reverse' %} Instances that are blocked by {{value}} + {% elif mode == 'reason' %} Instances having block reason {{value}} + {% endif %} +{% endblock %} {% block rss %} {{ super() }} -- 2.39.5