From: Raphaƫl Gertz Date: Sat, 28 Aug 2021 03:55:22 +0000 (+0200) Subject: Remove subscribe templates X-Git-Tag: 0.2.0~60 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/f61cf2ebdd37ed70707c4292a39b67fb7b776aaf?ds=sidebyside Remove subscribe templates --- 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 }}