diff --git a/templates/footer.html.twig b/templates/footer.html.twig new file mode 100644 index 0000000..d634493 --- /dev/null +++ b/templates/footer.html.twig @@ -0,0 +1,126 @@ + diff --git a/templates/security/consent.html.twig b/templates/security/consent.html.twig index fb0da37..e8b8bbd 100644 --- a/templates/security/consent.html.twig +++ b/templates/security/consent.html.twig @@ -6,8 +6,7 @@ {% block body %} {{ include('header.html.twig') }} -
- +

{{ 'consent.description' | trans({ '%clientapp%': '' ~ client_app ~ '' }) | raw }} @@ -28,4 +27,5 @@

+ {{ include('footer.html.twig') }} {% endblock %} diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig index 634ccd2..a3e4409 100644 --- a/templates/security/login.html.twig +++ b/templates/security/login.html.twig @@ -6,7 +6,7 @@ {% block body %} {{ include('header.html.twig') }} -
+
{% if error %}
{{ error.messageKey|trans(error.messageData, 'security') }}
@@ -50,4 +50,5 @@ {% endif %}
+ {{ include('footer.html.twig') }} {% endblock %} diff --git a/translations/messages.en.yaml b/translations/messages.en.yaml index bc49b40..4e1717a 100644 --- a/translations/messages.en.yaml +++ b/translations/messages.en.yaml @@ -16,4 +16,11 @@ consent: description: The application %clientapp% would like permission to access your Goteo account. tip: You should only give access to your Goteo account to third parties you trust. consent: Yes, allow access - submit: Continue \ No newline at end of file + submit: Continue + +footer: + legal: + termsOfUse: Terms of use + licenses: Licencias + platoniq: + foundation: Foundation \ No newline at end of file