From f4532c3015b974f064b7be9368f89888fbe7df0d Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Thu, 28 Jul 2016 09:56:44 +0200 Subject: [PATCH] Replaced exclusive ifs by if-else --- module/Core/templates/core/error/error.html.twig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/Core/templates/core/error/error.html.twig b/module/Core/templates/core/error/error.html.twig index 9821ec0e..5cb66c57 100644 --- a/module/Core/templates/core/error/error.html.twig +++ b/module/Core/templates/core/error/error.html.twig @@ -14,8 +14,7 @@
{% if status != 404 %}

{{ translate('We encountered a %s %s error.') | format(status, reason) }}

- {% endif %} - {% if status == 404 %} + {% else %}

{{ translate('This short URL doesn\'t seem to be valid.') }}

{{ translate('Make sure you included all the characters, with no extra punctuation.') }}

{% endif %}