]> git.ipfire.org Git - ipfire.org.git/commitdiff
messages: Add HTML version of profile setup emails
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Nov 2019 12:12:46 +0000 (12:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Nov 2019 12:12:46 +0000 (12:12 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/templates/auth/messages/profile-setup-2.html [new file with mode: 0644]
src/templates/auth/messages/profile-setup.html [new file with mode: 0644]

index e8902ba28d00361321c9c0342dcc0355d4e3519f..7ffc134d5198def4d8a31115cc7a6abeda8b2214 100644 (file)
@@ -128,7 +128,9 @@ templates_auth_messages_DATA = \
        src/templates/auth/messages/donation-reminder.txt \
        src/templates/auth/messages/password-reset.html \
        src/templates/auth/messages/password-reset.txt \
+       src/templates/auth/messages/profile-setup.html \
        src/templates/auth/messages/profile-setup.txt \
+       src/templates/auth/messages/profile-setup-2.html \
        src/templates/auth/messages/profile-setup-2.txt \
        src/templates/auth/messages/register.html \
        src/templates/auth/messages/register.txt
diff --git a/src/templates/auth/messages/profile-setup-2.html b/src/templates/auth/messages/profile-setup-2.html
new file mode 100644 (file)
index 0000000..1c9fa0f
--- /dev/null
@@ -0,0 +1,43 @@
+{% extends "../../messages/base.html" %}
+
+{% block content %}
+    <p>
+        <strong>{{ _("Hello once again, %s,") % account.first_name }}</strong>
+    </p>
+
+    <p>
+        {{ _("we hope you are enjoying using IPFire.") }}
+    </p>
+
+    <p>
+        {{ _("Did you know that you can get help from our community at https://community.ipfire.org?") }}
+        {{ _("People like me often post on here, providing help and support.") }}
+    </p>
+
+    <p>
+        {{ _("But we also rely on you donations. Please consider helping us by setting up a small 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">{{ _("Donate Now") }}</a>
+                                </td>
+                                                       </tr>
+                                               </tbody>
+                                       </table>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
+
+    <p>
+        {{ _("Thank you, we really appreciate your support,") }}
+        <br>{{ _("-Arne")}}
+    </p>
+{% end block %}
diff --git a/src/templates/auth/messages/profile-setup.html b/src/templates/auth/messages/profile-setup.html
new file mode 100644 (file)
index 0000000..3ab3275
--- /dev/null
@@ -0,0 +1,47 @@
+{% extends "../../messages/base.html" %}
+
+{% block content %}
+    <p>
+        <strong>{{ _("Hello %s!") % account.first_name }}</strong>
+    </p>
+
+    <p>
+        {{ _("I would like to introduce myself: I'm Michael and I am one of the people behind the project. We are a team of passionate people who try to make the Internet a better place. On behalf of everyone, I would like to say: Welcome to the IPFire Project!") }}
+    </p>
+
+    <p>
+        {{ _("We want you to feel a part of our team. Can I ask you to set up your profile? We would love to know a little bit more about you.") }}
+        {{ _("To do this, please log on to your profile and click the edit button.") }}
+    </p>
+
+    <p>
+        {{ _("I would also like to invite you to join our community at https://community.ipfire.org, if you haven't already done so.") }}
+    </p>
+
+    <p>
+        {{ _("Finally, this organisation relies on the generous donations of people like you. If you can, please consider supporting this project and the team behind it, so that we can continue our long-term vision, fund developers and promote our project.") }}
+    </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" target="_blank">{{ _("Donate Now") }}</a>
+                                </td>
+                                                       </tr>
+                                               </tbody>
+                                       </table>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
+
+    <p>
+        {{ _("Thank you,") }}
+        <br>{{ _("-Michael") }}
+    </p>
+{% end block %}