]> Raphaël G. Git Repositories - airbundle/commitdiff
Rename page template to default
authorRaphaël Gertz <git@rapsys.eu>
Tue, 26 Nov 2019 23:29:24 +0000 (00:29 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 26 Nov 2019 23:29:24 +0000 (00:29 +0100)
Resources/views/default/index.html.twig [new file with mode: 0644]
Resources/views/page/index.html.twig [deleted file]

diff --git a/Resources/views/default/index.html.twig b/Resources/views/default/index.html.twig
new file mode 100644 (file)
index 0000000..9ce4b11
--- /dev/null
@@ -0,0 +1,7 @@
+{% extends '@RapsysAir/body.html.twig' %}
+{% block content %}
+       <section id="content">
+               <h2><a href="{{ path('rapsys_air_index') }}">{{ section }}</a></h2>
+               <p>{{ 'Welcome to the outdoor space reservation system'|trans }}</p>
+       </section>
+{% endblock %}
diff --git a/Resources/views/page/index.html.twig b/Resources/views/page/index.html.twig
deleted file mode 100644 (file)
index f0997a7..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{% extends '@RapsysAir/base.html.twig' %}
-{% block content %}
-<section id="content">
-       <h2><a href="{{ path('rapsys_air_homepage') }}">{{ section }}</a></h2>
-       <p>{% trans %}Outdoor space reservation system{% endtrans %}</p>
-</section>
-{% endblock %}