New emails for the activation.

This commit is contained in:
James Cole 2016-03-29 11:48:29 +02:00
parent ae02e3fd8d
commit 7ed24e78d5
3 changed files with 46 additions and 31 deletions

View File

@ -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>

View File

@ -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 }}

View File

@ -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>