From e870dca0b56c9b38b452a2934ef423dd07e1c30c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 3 Apr 2019 11:07:03 +0300 Subject: [PATCH] Don't show the search box if the project has no checks. --- templates/front/my_checks.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/front/my_checks.html b/templates/front/my_checks.html index 0b7e42c9..ec26c533 100644 --- a/templates/front/my_checks.html +++ b/templates/front/my_checks.html @@ -4,6 +4,7 @@ {% block title %}{{ num_down|num_down_title }}{% endblock %} {% block content %} +{% if checks %}
{% for tag, status in tags %} @@ -19,6 +20,7 @@ value="{{ search }}" />
+{% endif %}