]> Raphaël G. Git Repositories - airbundle/commitdiff
Remove subscribe templates
authorRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 03:55:22 +0000 (05:55 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 03:55:22 +0000 (05:55 +0200)
Resources/views/form/_subscribe.html.twig [deleted file]
Resources/views/mail/subscribe.html.twig [deleted file]
Resources/views/mail/subscribe.text.twig [deleted file]

diff --git a/Resources/views/form/_subscribe.html.twig b/Resources/views/form/_subscribe.html.twig
deleted file mode 100644 (file)
index 2d52544..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<section>
-       <h2><a href="{{ path('rapsys_user_subscribe') }}">{% trans %}Subscribe{% endtrans %}</a></h2>
-       {{ form_start(forms.subscribe) }}
-               <div>
-                       {{ form_row(forms.subscribe.mail) }}
-
-                       {{ form_row(forms.subscribe.submit) }}
-               </div>
-
-               {# Render CSRF token etc .#}
-               <footer style="display:none">{{ form_rest(forms.subscribe) }}</footer>
-       {{ form_end(forms.subscribe) }}
-</section>
diff --git a/Resources/views/mail/subscribe.html.twig b/Resources/views/mail/subscribe.html.twig
deleted file mode 100644 (file)
index fd0ae29..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-{% extends '@RapsysAir/mail/body.html.twig' %}
-{% block title %}{{ subject }}{% endblock %}
-{% block content %}
-       <table class="content">
-               <tr>
-                       <td>&nbsp;</td>
-                       <td>
-                               <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %site.title%'|trans({'%site.title%': site.title})|raw}) }}</h2>
-                               <h3>{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}</h3>
-                               <p>{{ 'Thanks so much for joining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}</p>
-                               <p>{% trans %}To create your account you can follow this link:{% endtrans %}</p>
-                               <p><a href="{{ subscribe_url|escape('html_attr') }}" class="link">{{ subscribe_url }}</a></p>
-                       </td>
-                       <td>&nbsp;</td>
-               </tr>
-       </table>
-{% endblock %}
diff --git a/Resources/views/mail/subscribe.text.twig b/Resources/views/mail/subscribe.text.twig
deleted file mode 100644 (file)
index 620352b..0000000
+++ /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 }}