Minor tweaks

This commit is contained in:
Hillel Coren 2015-03-10 14:39:49 +02:00
parent ed3d779bf1
commit 228f772f02

View File

@ -1,32 +1,33 @@
<html> <html>
<body> <body>
<script type="application/ld+json"> <script type="application/ld+json">
{ {
"@context": "http://schema.org", "@context":"http://schema.org",
"@type": "EmailMessage", "@type":"EmailMessage",
"action": { "description":"Confirm your Invoice Ninja account",
"@type": "ConfirmAction", "action":
"name": "Approve Expense", {
"@type":"ConfirmAction",
"name":"Confirm Account",
"handler": { "handler": {
"@type": "HttpActionHandler", "@type": "HttpActionHandler",
"url": "https://myexpenses.com/approve?expenseId=abc123" "url": "{{{ URL::to("user/confirm/{$user->confirmation_code}") }}}"
}
} }
}, }
"description": "Approval request for John's $10.13 expense for office supplies" </script>
}
</script>
<h1>{{ trans('texts.confirmation_header') }}</h1> <h1>{{ trans('texts.confirmation_header') }}</h1>
<p> <p>
{{ $invitationMessage . trans('texts.confirmation_message') }}<br/> {{ $invitationMessage . trans('texts.confirmation_message') }}<br/>
<a href='{{{ URL::to("user/confirm/{$user->confirmation_code}") }}}'> <a href='{{{ URL::to("user/confirm/{$user->confirmation_code}") }}}'>
{{{ URL::to("user/confirm/{$user->confirmation_code}") }}} {{{ URL::to("user/confirm/{$user->confirmation_code}") }}}
</a> </a>
<p/> <p/>
{{ trans('texts.email_signature') }}<br/> {{ trans('texts.email_signature') }}<br/>
{{ trans('texts.email_from') }} {{ trans('texts.email_from') }}
</body> </body>
</html> </html>