]> git.ipfire.org Git - ipfire.org.git/commitdiff
Add HTML template for donation reminder email
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 Nov 2019 16:29:59 +0000 (16:29 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 Nov 2019 16:29:59 +0000 (16:29 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/templates/auth/messages/donation-reminder.html [new file with mode: 0644]

index 3250973e071d612f1c97c417a10b667d6edcc0e5..6f7497f2eb457561f81a6b8639d1696f7bd06be2 100644 (file)
@@ -124,6 +124,7 @@ templates_auth_DATA = \
 templates_authdir = $(templatesdir)/auth
 
 templates_auth_messages_DATA = \
+       src/templates/auth/messages/donation-reminder.html \
        src/templates/auth/messages/donation-reminder.txt \
        src/templates/auth/messages/password-reset.txt \
        src/templates/auth/messages/profile-setup.txt \
diff --git a/src/templates/auth/messages/donation-reminder.html b/src/templates/auth/messages/donation-reminder.html
new file mode 100644 (file)
index 0000000..cabed14
--- /dev/null
@@ -0,0 +1,62 @@
+{% extends "../../messages/base.html" %}
+
+{% block content %}
+    <p>
+        <strong>{{ _("Hey again, %s,") % account.first_name }}</strong>
+    </p>
+
+    <p>
+        {{ _("IPFire runs on supporters' donations, people like you!") }}
+    </p>
+
+    <p>
+        {{ _("Why do we need you donations?") }}
+    </p>
+
+    <ul>
+        <li>{{ _("Your money ensures the longevity and long-term success of this project.") }}</li>
+        <li>{{ _("It helps us fund developers and extend our skills") }}</li>
+        <li>{{ _("It will aid us to promote IPFire to more people around the world") }}</li>
+        <li>{{ _("This funds conferences, where we focus on future projects") }}</li>
+        <li>{{ _("It pays for our hosting") }}</li>
+    </ul>
+
+    <p>
+        {{ _("All this, as you would understand, requires money. Every single donation counts.") }}
+    </p>
+
+    <p>
+        {{ _("If you want to see IPFire thrive, we need your support.") }}
+    </p>
+
+    <p>
+        {{ _("The best way to do this is by setting up a monthly donation which you can do here:") }}
+    </p>
+
+       <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="btn btn-primary">
+               <tbody>
+                       <tr>
+                               <td align="left">
+                                       <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+                                               <tbody>
+                                                       <tr>
+                                                               <td>
+                                    <a href="https://www.ipfire.org/donate?frequency=monthly&amp;amount=10" target="_blank">{{ _("Donate Now") }}</a>
+                                </td>
+                                                       </tr>
+                                               </tbody>
+                                       </table>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
+
+    <p>
+        {{ _("We also have other ways to donate. Please go to https://www.ipfire.org/donate for details.") }}
+    </p>
+
+    <p>
+        {{ _("Thank you so much for your support,") }}
+        <br>{{ _("-Michael") }}
+    </p>
+{% end block %}