feat: add error pages
This commit is contained in:
parent
476cc641e5
commit
0efd5343e3
12
templates/bundles/TwigBundle/Exception/error404.html.twig
Normal file
12
templates/bundles/TwigBundle/Exception/error404.html.twig
Normal file
@ -0,0 +1,12 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
<p>
|
||||
<div class="container">
|
||||
<div style="text-align: center;">
|
||||
<h1>{{ "page not found" | trans }}</h1>
|
||||
<a href="{{ path('homepage') }}">{{ "return to the homepage" | trans }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</p>
|
||||
{% endblock %}
|
13
templates/bundles/TwigBundle/Exception/error500.html.twig
Normal file
13
templates/bundles/TwigBundle/Exception/error500.html.twig
Normal file
@ -0,0 +1,13 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
<p>
|
||||
<div class="container">
|
||||
<div style="text-align: center;">
|
||||
<h1>{{ "internal server error" | trans }}</h1>
|
||||
{{ "our developers are doing their best to fix it. please try again later." | trans }}
|
||||
<a href="{{ path('homepage') }}">{{ "return to the homepage" | trans }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</p>
|
||||
{% endblock %}
|
@ -9,3 +9,7 @@ Generate qr code: "Vygenerovat QR kód"
|
||||
Iban: "IBAN"
|
||||
QR code generator: "Generátor bankovních QR kódů"
|
||||
You can generate another QR code here: "Další QR kód si můžete vygenerovat zde"
|
||||
page not found: 'Stránka nenalezena'
|
||||
return to the homepage: 'Zpět na homepage'
|
||||
"our developers are doing their best to fix it. please try again later.": "Naši programátoři dělají maximum aby to opravili. Zkuste to prosím později."
|
||||
internal server error: 'Něco se pokazilo :-('
|
||||
|
Loading…
Reference in New Issue
Block a user