From a639e6a809aedb02bca9fcf5a0ba70574e92a7b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Sun, 15 Apr 2018 18:16:50 +0000 Subject: [PATCH] Do not display on home page services when no image --- re2o/templates/re2o/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/re2o/templates/re2o/index.html b/re2o/templates/re2o/index.html index 8f8a5d0c..3de7945c 100644 --- a/re2o/templates/re2o/index.html +++ b/re2o/templates/re2o/index.html @@ -37,7 +37,9 @@ with this program; if not, write to the Free Software Foundation, Inc., {% for service in service_list %}
- {{ service.name }} + {% if service.image %} + {{ service.name }} + {% endif %}

{{ service.name }}

{{ service.description }}