From 68830f2e6472cd67f20852896bbdfe8571769342 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Sun, 15 Apr 2018 19:42:45 +0200 Subject: [PATCH 1/2] Fix no img file --- re2o/templates/re2o/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re2o/templates/re2o/index.html b/re2o/templates/re2o/index.html index e3b17e0a..8f8a5d0c 100644 --- a/re2o/templates/re2o/index.html +++ b/re2o/templates/re2o/index.html @@ -37,7 +37,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% for service in service_list %}
- {{ service.name }} + {{ service.name }}

{{ service.name }}

{{ service.description }}

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 2/2] 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 }}