]> git.ipfire.org Git - ipfire.org.git/commitdiff
messages: Add HTML templates for donation emails
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Nov 2019 13:08:16 +0000 (13:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Nov 2019 13:08:16 +0000 (13:08 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/templates/donate/messages/ask-again.html [new file with mode: 0644]
src/templates/donate/messages/christmas-1.html [new file with mode: 0644]
src/templates/donate/messages/christmas-2.html [new file with mode: 0644]
src/templates/donate/messages/christmas-2.txt
src/templates/donate/messages/christmas-3.html [new file with mode: 0644]
src/templates/donate/messages/christmas-4.html [new file with mode: 0644]
src/templates/donate/messages/christmas-5.html [new file with mode: 0644]
src/templates/donate/messages/convert-to-monthly.html [new file with mode: 0644]

index 7ffc134d5198def4d8a31115cc7a6abeda8b2214..7c618798651ac8b3ae9b80add786d3a671731590 100644 (file)
@@ -169,12 +169,19 @@ templates_donate_DATA = \
 templates_donatedir = $(templatesdir)/donate
 
 templates_donate_messages_DATA = \
+       src/templates/donate/messages/ask-again.html \
        src/templates/donate/messages/ask-again.txt \
+       src/templates/donate/messages/christmas-1.html \
        src/templates/donate/messages/christmas-1.txt \
+       src/templates/donate/messages/christmas-2.html \
        src/templates/donate/messages/christmas-2.txt \
+       src/templates/donate/messages/christmas-3.html \
        src/templates/donate/messages/christmas-3.txt \
+       src/templates/donate/messages/christmas-4.html \
        src/templates/donate/messages/christmas-4.txt \
+       src/templates/donate/messages/christmas-5.html \
        src/templates/donate/messages/christmas-5.txt \
+       src/templates/donate/messages/convert-to-monthly.html \
        src/templates/donate/messages/convert-to-monthly.txt
 
 templates_donate_messagesdir = $(templates_donatedir)/messages
diff --git a/src/templates/donate/messages/ask-again.html b/src/templates/donate/messages/ask-again.html
new file mode 100644 (file)
index 0000000..5c69d59
--- /dev/null
@@ -0,0 +1,49 @@
+{% extends "../../messages/base.html" %}
+
+{% block content %}
+    <p>
+        <strong>{{ _("Hi %s,") % account.first_name }}</strong>
+    </p>
+
+    <p>
+        {{ _("IPFire is a crowd-funded project. It relies on donations from people like you. Thank you for your donation to the IPFire Project.") }}
+    </p>
+
+    <p>
+        {{ _("Further support is needed to continue our development. Please consider us on a regular basis. It really does make a difference.") }}
+    </p>
+
+    <p>
+        {{ _("You can again donate by heading to:") }} https://www.ipfire.org/donate
+    </p>
+
+    <p>
+        {{ _("Or, what would help us even more, is setting up a monthly donation:") }}
+    </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" target="_blank">{{ _("Setup Monthly Donation") }}</a>
+                                </td>
+                                                       </tr>
+                                               </tbody>
+                                       </table>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
+
+    <p>
+        {{ _("Having regular support allows us to make long-term development decisions.") }}
+    </p>
+
+    <p>
+        {{ _("On behalf of the whole team behind IPFire: Thank you!") }}
+    </p>
+{% end block %}
diff --git a/src/templates/donate/messages/christmas-1.html b/src/templates/donate/messages/christmas-1.html
new file mode 100644 (file)
index 0000000..f017d2b
--- /dev/null
@@ -0,0 +1,41 @@
+{% extends "../../messages/base-promo.html" %}
+
+{% block content %}
+    <p>
+        {{ _("With 24 days to the big day, we know that some of you will be writing your list for Santa.") }}
+    </p>
+
+    <p>
+        {{ _("On that list, have you considered setting up a donation to your favourite Open Source project?") }}
+    </p>
+
+    <p>
+        {{ _("Your donation really does make a difference. Some of the changes this year, which have improved IPFire so much, would not have been possible without financial support.")}}
+    </p>
+
+    <p>
+        {{ _("If you want to gift a donation this Christmas, please follow the link:") }}
+    </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">{{ _("Setup Monthly Donation") }}</a>
+                                </td>
+                                                       </tr>
+                                               </tbody>
+                                       </table>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
+
+    <p>
+        {{ _("We hope you have a good run-up to the festive season.") }}
+    </p>
+{% end block %}
diff --git a/src/templates/donate/messages/christmas-2.html b/src/templates/donate/messages/christmas-2.html
new file mode 100644 (file)
index 0000000..17d6b94
--- /dev/null
@@ -0,0 +1,45 @@
+{% extends "../../messages/base-promo.html" %}
+
+{% block content %}
+    <p>
+        <strong>{{ _("Hello,") }}</strong>
+    </p>
+
+    <p>
+        {{ _("In the run-up to Christmas, we just wanted to give you an idea of what your donations do to support the IPFire Project:") }}
+    </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>
+        {{ _("To help us with this, we would love your Christmas gift.") }}
+    </p>
+
+    <p>
+        {{ _("Have you thought of a recurring donation? Long-term donations help to secure IPFire's future and deliver what we mentioned above.") }}
+    </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">{{ _("Fulfil Our Wish") }}</a>
+                                </td>
+                                                       </tr>
+                                               </tbody>
+                                       </table>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
+{% end block %}
index 4f527443cecf58118d53b79cdca95a05cdb90de7..f12c7bf606529d908d00e8b09b626c169060f72f 100644 (file)
@@ -16,6 +16,6 @@ Subject: {{ _("Our Christmas wish...") }}
 
 {{ _("Have you thought of a recurring donation? Long-term donations help to secure IPFire's future and deliver what we mentioned above.") }}
 
-{{ _("Click here, to fulfill our wish:") }}
+{{ _("Click here, to fulfil our wish:") }}
 
   https://www.ipfire.org/donate?frequency=monthly&amount=10
diff --git a/src/templates/donate/messages/christmas-3.html b/src/templates/donate/messages/christmas-3.html
new file mode 100644 (file)
index 0000000..5f81fad
--- /dev/null
@@ -0,0 +1,33 @@
+{% extends "../../messages/base-promo.html" %}
+
+{% block content %}
+    <p>
+        <strong>{{ _("Hi,") }}</strong>
+    </p>
+
+    <p>
+        {{ _("with only days to go, shopping being completed, presents being wrapped, and the tree being decorated, would you consider one of the presents at the bottom of your tree to be for IPFire?") }}
+    </p>
+
+    <p>
+        {{ _("Your donation helps us making IPFire more amazing.") }}
+    </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>
+{% end block %}
diff --git a/src/templates/donate/messages/christmas-4.html b/src/templates/donate/messages/christmas-4.html
new file mode 100644 (file)
index 0000000..e4ff3ce
--- /dev/null
@@ -0,0 +1,50 @@
+{% extends "../../messages/base-promo.html" %}
+
+{% block content %}
+    <p>
+        <strong>{{ _("Hello and Merry Christmas,") }}</strong>
+    </p>
+
+    <p>
+        {{ _("firstly, I just wanted to say: Thank You!") }}
+    </p>
+
+    <p>
+        {{ _("To our financial supporters, your gift to us have helped in the last year to make improvements we all use. Please do consider us in your future donation decisions.") }}
+    </p>
+
+    <p>
+        {{ _("Secondly, to my fellow team members & contributors: Thank you for your support in the last year. We have really made some great progress due to your hard work.") }}
+    </p>
+
+    <p>
+        {{ _("I would like to wish anyone who celebrates Christmas a happy and peaceful celebration. We are looking forward to the new year.") }}
+    </p>
+
+    <p>
+        {{ _("If you haven't donated, yet, please follow the link:") }}
+    </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=20" target="_blank">{{ _("Donate Now") }}</a>
+                                </td>
+                                                       </tr>
+                                               </tbody>
+                                       </table>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
+
+    <p>
+        {{ _("Thank you once again and Merry Christmas,") }}
+        <br>{{ _("-Michael") }}
+    </p>
+{% end block %}
diff --git a/src/templates/donate/messages/christmas-5.html b/src/templates/donate/messages/christmas-5.html
new file mode 100644 (file)
index 0000000..7bf3fc6
--- /dev/null
@@ -0,0 +1,37 @@
+{% extends "../../messages/base-promo.html" %}
+
+{% block content %}
+    <p>
+        <strong>{{ _("Hello,") }}</strong>
+    </p>
+
+    <p>
+        {{ _("thank you for all your donations over Christmas.") }}
+    </p>
+
+    <p>
+        {{ _("In the last year, we have made so many improvements to IPFire and we have added so many new features which would not have been possible without you.") }}
+    </p>
+
+    <p>
+        {{ _("To support us in the new year, please consider setting up a monthly donation which will help us to do our work and make this year at least as successful as the last one.") }}
+    </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>
+{% end block %}
diff --git a/src/templates/donate/messages/convert-to-monthly.html b/src/templates/donate/messages/convert-to-monthly.html
new file mode 100644 (file)
index 0000000..8df7670
--- /dev/null
@@ -0,0 +1,43 @@
+{% extends "../../messages/base-promo.html" %}
+
+{% block content %}
+    <p>
+        <strong>{{ _("Hey %s,") % account.first_name }}</strong>
+    </p>
+
+    <p>
+        {{ _("I just wanted to take a moment to thank you for your donation.") }}
+    </p>
+
+    <p>
+        {{ _("If I could ask one more thing of you, could you consider converting this to a monthly donation?") }}
+    </p>
+
+    <p>
+        {{ _("Having long-term funding allows us to invest in IPFire and make it better for everyone.") }}
+        {{ _("You can do this by clicking on this link:") }}
+    </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="XXX DONATION UPGRADE LINK" target="_blank">{{ _("Upgrade Your Donation") }}</a>
+                                </td>
+                                                       </tr>
+                                               </tbody>
+                                       </table>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
+
+    <p>
+        {{ _("Your continuing support makes a real difference!") }}
+        <br>{{ _("-Michael") }}
+    </p>
+{% end block %}