From f61cf2ebdd37ed70707c4292a39b67fb7b776aaf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 28 Aug 2021 05:55:22 +0200 Subject: [PATCH 1/1] Remove subscribe templates --- Resources/views/form/_subscribe.html.twig | 13 ------------- Resources/views/mail/subscribe.html.twig | 17 ----------------- Resources/views/mail/subscribe.text.twig | 11 ----------- 3 files changed, 41 deletions(-) delete mode 100644 Resources/views/form/_subscribe.html.twig delete mode 100644 Resources/views/mail/subscribe.html.twig delete mode 100644 Resources/views/mail/subscribe.text.twig diff --git a/Resources/views/form/_subscribe.html.twig b/Resources/views/form/_subscribe.html.twig deleted file mode 100644 index 2d52544..0000000 --- a/Resources/views/form/_subscribe.html.twig +++ /dev/null @@ -1,13 +0,0 @@ -
-

{% trans %}Subscribe{% endtrans %}

- {{ form_start(forms.subscribe) }} -
- {{ form_row(forms.subscribe.mail) }} - - {{ form_row(forms.subscribe.submit) }} -
- - {# Render CSRF token etc .#} -
{{ form_rest(forms.subscribe) }}
- {{ form_end(forms.subscribe) }} -
diff --git a/Resources/views/mail/subscribe.html.twig b/Resources/views/mail/subscribe.html.twig deleted file mode 100644 index fd0ae29..0000000 --- a/Resources/views/mail/subscribe.html.twig +++ /dev/null @@ -1,17 +0,0 @@ -{% extends '@RapsysAir/mail/body.html.twig' %} -{% block title %}{{ subject }}{% endblock %} -{% block content %} - - - - - - -
  -

{{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %site.title%'|trans({'%site.title%': site.title})|raw}) }}

-

{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}

-

{{ 'Thanks so much for joining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}

-

{% trans %}To create your account you can follow this link:{% endtrans %}

-

{{ subscribe_url }}

-
 
-{% endblock %} diff --git a/Resources/views/mail/subscribe.text.twig b/Resources/views/mail/subscribe.text.twig deleted file mode 100644 index 620352b..0000000 --- a/Resources/views/mail/subscribe.text.twig +++ /dev/null @@ -1,11 +0,0 @@ -{{ subject }} -{% for i in range(1, subject|length) %}={% endfor %} - - -*{{ 'Thanks so much for joining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}* - -{{ 'To create your account you must follow this link: %subscribe_url%'|trans({'%subscribe_url%': subscribe_url}) }} - --- - -{{ copy.long }} - {{ copy.short }} -- 2.41.1