New page title, section and description schema
authorRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:07:30 +0000 (10:07 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:07:30 +0000 (10:07 +0200)
Fix translation string

Resources/views/default/about.html.twig
Resources/views/default/dispute.html.twig
Resources/views/default/frequently_asked_questions.html.twig
Resources/views/default/organizer_regulation.html.twig
Resources/views/default/terms_of_service.html.twig

index 0e8b341a66486bc7871720c15d555624002e6c60..db9a100af692224a531306db4c50b18a97a21b7a 100644 (file)
@@ -2,8 +2,8 @@
 {% block content %}
        <section id="dashboard">
                <header>
-                       <h2><a href="{{ path('rapsys_air_about') }}">{{ page.title }}</a></h2>
-                       <p>{{ page.description }}</p>
+                       <h2><a href="{{ path('rapsys_air_about') }}">{{ title }}</a></h2>
+                       <p>{{ description }}</p>
                </header>
                <nav>
                        <strong>{% trans %}Table of contents{% endtrans %}</strong>
index 730126e4ac64cd64465f46707bc2aec104f4daf4..6dc341ebbee7d4791e08e0d2cbe6121a57cfe3b0 100644 (file)
@@ -2,8 +2,8 @@
 {% block content %}
        <section id="form">
                <header>
-                       <h2><a href="{{ path('rapsys_air_dispute') }}">{{ page.title }}</a></h2>
-                       <p>{{ page.description }}</p>
+                       <h2><a href="{{ path('rapsys_air_dispute') }}">{{ title }}</a></h2>
+                       <p>{{ description }}</p>
                </header>
                {% if sent %}
                        <p class="message notice">{% trans %}Your message has been sent{% endtrans %}</p>
index f3aad4740273f873e134eacbb4875f02cd7436b7..78279eaa10c5e8806c5b629b89aefc7e42fead75 100644 (file)
@@ -2,8 +2,8 @@
 {% block content %}
        <section id="dashboard">
                <header>
-                       <h2><a href="{{ path('rapsys_air_frequently_asked_questions') }}">{{ page.title }}</a></h2>
-                       <p>{{ page.description }}</p>
+                       <h2><a href="{{ path('rapsys_air_frequently_asked_questions') }}">{{ title }}</a></h2>
+                       <p>{{ description }}</p>
                </header>
                <nav>
                        <strong>{% trans %}Table of contents{% endtrans %}</strong>
@@ -29,7 +29,7 @@
                </section>
                <section>
                        <h3 id="whatisit">{% trans %}What is it ?{% endtrans %}</h3>
-                       <p>{% trans %}Libre Air is an initiative to have a powerful and shared calendar for outdoor Tango Argentin sessions.{% endtrans %}</p>{# sur paris dans un premier temps #}
+                       <p>{% trans %}Libre Air is an initiative to have a powerful and shared calendar for outdoor Argentine Tango sessions.{% endtrans %}</p>{# sur paris dans un premier temps #}
                </section>
                <section>
                        <h3 id="whocancreateanaccount">{% trans %}Who can create an account ?{% endtrans %}</h3>
index f9df131a150a196294af606984dc682d53bf0c33..35917f747b239e263b0cf1173317fde2baa31803 100644 (file)
@@ -2,8 +2,8 @@
 {% block content %}
        <section id="dashboard">
                <header>
-                       <h2><a href="{{ path('rapsys_air_organizer_regulation') }}">{{ page.title }}</a></h2>
-                       <p>{{ page.description }}</p>
+                       <h2><a href="{{ path('rapsys_air_organizer_regulation') }}">{{ title }}</a></h2>
+                       <p>{{ description }}</p>
                </header>
                <nav>
                        <strong>{% trans %}Table of contents{% endtrans %}</strong>
index cb8d197536055222519abcc1279c3a5c1f382d04..5559635ed669cc1b995c88a67c16a9a6fe18d41c 100644 (file)
@@ -2,8 +2,8 @@
 {% block content %}
        <section id="dashboard">
                <header>
-                       <h2><a href="{{ path('rapsys_air_terms_of_service') }}">{{ page.title }}</a></h2>
-                       <p>{{ page.description }}</p>
+                       <h2><a href="{{ path('rapsys_air_terms_of_service') }}">{{ title }}</a></h2>
+                       <p>{{ description }}</p>
                </header>
                <nav>
                        <strong>{% trans %}Table of contents{% endtrans %}</strong>