From 40e219622a2c416ab36cb39b26a5e1354e4438cc Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sat, 1 Oct 2016 14:51:54 +0200 Subject: Customize errors templates All error goes to the same template which only display the error message and the status code. --- .../views/themes/baggy/Exception/error.html.twig | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/baggy/Exception/error.html.twig (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/Exception/error.html.twig') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Exception/error.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Exception/error.html.twig new file mode 100644 index 00000000..b52634fd --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Exception/error.html.twig @@ -0,0 +1,24 @@ +{% extends "WallabagCoreBundle::layout.html.twig" %} + +{% block title %}{{ 'error.page_title'|trans }}{% endblock %} + +{% block body_class %}login{% endblock %} + +{% block menu %}{% endblock %} +{% block messages %}{% endblock %} +{% block header %}{% endblock %} + +{% block content %} +
+
+
+
wallabag logo
+

{{ status_code }}: {{ status_text }}

+

{{ exception.message }}

+
+
+
+{% endblock %} + +{% block footer %} +{% endblock %} -- cgit v1.2.3