Skip to content

Firefly III: a personal finances manager

New emails for the activation.

James Cole7ed24e78d5d6
diff --git a/resources/views/emails/confirm-account-html.twig b/resources/views/emails/confirm-account-html.twig
new file mode 100644
index 0000000000..2b9ed4a533
--- /dev/null
+++ b/resources/views/emails/confirm-account-html.twig
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
+
+</head>
+<body>
+
+<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
+ Hey there,
+</p>
+
+<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
+First of all: delete this email message if you did not expect it.
+</p>
+
+<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
+Otherwise, in order to use your account, please
+ <a href="{{ route }}" style="color:#337ab7">confirm this email address is yours</a>.
+</p>
+
+<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
+ This link is valid for about 4 hours.
+</p>
+
+<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:11px;color:#aaa;">
+ The registration has been created from IP {{ ip }}
+</p>
diff --git a/resources/views/emails/confirm-account.twig b/resources/views/emails/confirm-account.twig
new file mode 100644
index 0000000000..3d9d3b8087
--- /dev/null
+++ b/resources/views/emails/confirm-account.twig
@@ -0,0 +1,11 @@
+Hey there,
+
+First of all: delete this email message if you did not expect it.
+
+Otherwise, in order to use your account, please confirm this email address is yours, by clicking on this link:
+
+{{ route }}
+
+This link is valid for about 4 hours.
+
+The registration has been created from IP {{ ip }}
diff --git a/resources/views/emails/registered-html.twig b/resources/views/emails/registered-html.twig
index 43f82cfa74..02d2407d94 100644
--- a/resources/views/emails/registered-html.twig
+++ b/resources/views/emails/registered-html.twig
@@ -4,14 +4,13 @@
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
-<body itemscope itemtype="http://schema.org/SoftwareApplication">
+<body>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
Hey there,
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
- Welkome to <a style="color:#337ab7" href="{{ address }}">
- <span itemprop="name">Firefly III</span></a>. Your registration has made it, and this email is here to confirm it. Yay!
+ Welkome to <a style="color:#337ab7" href="{{ address }}">Firefly III</a>. Your registration has made it, and this email is here to confirm it. Yay!
</p>
<ul>
@@ -27,45 +26,22 @@
<a style="color:#337ab7" href="https://github.com/JC5/firefly-iii/wiki/First-use">first use guide</a> and the
<a style="color:#337ab7" href="http://jc5.github.io/firefly-iii//description/">full description</a>.
</li>
-
+ <li style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
+ If this installation of Firefly is configured to send activation mails as well, you should get an activation
+ link very soon!
+ </li>
</ul>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
Enjoy!
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
- <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">James Cole</span></span>
+ James Cole
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:11px;color:#aaa;">
The registration has been created from IP {{ ip }}
</p>
-
-<script type="application/ld+json">
-{
- "@context": "http://schema.org",
- "@type": "EmailMessage",
- "description": "Visit Firefly III",
- "potentialAction": {
- "@type": "ViewAction",
- "target": "{{ address }}",
- "url": "{{ address }}",
- "name": "Visit Firefly III"
- },
- "publisher": {
- "@type": "Organization",
- "name": "Firefly III",
- "url": "{{ address }}"
- }
-}
-
-
-
-
-
-
-</script>
-
</body>
</html>