Removed html escape from text email blade files

This commit is contained in:
Hillel Coren 2015-09-03 10:36:00 +03:00
parent 9f7f6f220a
commit e2626051dc
7 changed files with 28 additions and 29 deletions

View File

@ -41,7 +41,6 @@ class Mailer
return true; return true;
} catch (Exception $exception) { } catch (Exception $exception) {
if (isset($_ENV['POSTMARK_API_TOKEN'])) { if (isset($_ENV['POSTMARK_API_TOKEN'])) {
//dd($exception->getResponse());
$response = $exception->getResponse()->getBody()->getContents(); $response = $exception->getResponse()->getBody()->getContents();
$response = json_decode($response); $response = json_decode($response);
return nl2br($response->Message); return nl2br($response->Message);

View File

@ -1 +1 @@
{{ $text }} {!! $text !!}

View File

@ -1,11 +1,11 @@
{{ trans('texts.email_salutation', ['name' => $userName]) }} {!! trans('texts.email_salutation', ['name' => $userName]) !!}
{{ trans("texts.notification_{$entityType}_paid", ['amount' => $paymentAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} {!! trans("texts.notification_{$entityType}_paid", ['amount' => $paymentAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) !!}
{{ trans("texts.{$entityType}_link_message") }} {!! trans("texts.{$entityType}_link_message") !!}
{{ $invoiceLink }} {!! $invoiceLink !!}
{{ trans('texts.email_signature') }} {!! trans('texts.email_signature') !!}
{{ trans('texts.email_from') }} {!! trans('texts.email_from') !!}
{{ trans('texts.user_email_footer') }} {!! trans('texts.user_email_footer') !!}

View File

@ -1,8 +1,8 @@
{{ trans('texts.email_salutation', ['name' => $userName]) }} {!! trans('texts.email_salutation', ['name' => $userName]) !!}
{{ trans("texts.notification_{$entityType}_sent", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} {!! trans("texts.notification_{$entityType}_sent", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) !!}
{{ trans('texts.email_signature') }} {!! trans('texts.email_signature') !!}
{{ trans('texts.email_from') }} {!! trans('texts.email_from') !!}
{{ trans('texts.user_email_footer') }} {!! trans('texts.user_email_footer') !!}

View File

@ -1,8 +1,8 @@
{{ trans('texts.email_salutation', ['name' => $userName]) }} {!! trans('texts.email_salutation', ['name' => $userName]) !!}
{{ trans("texts.notification_{$entityType}_viewed", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} {!! trans("texts.notification_{$entityType}_viewed", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) !!}
{{ trans('texts.email_signature') }} {!! trans('texts.email_signature') !!}
{{ trans('texts.email_from') }} {!! trans('texts.email_from') !!}
{{ trans('texts.user_email_footer') }} {!! trans('texts.user_email_footer') !!}

View File

@ -1,8 +1,8 @@
{{ $client }}, {!! $client !!},
{{ trans('texts.payment_message', ['amount' => $amount]) }} {!! trans('texts.payment_message', ['amount' => $amount]) !!}
{{ $license }} {!! $license !!}
{{ trans('texts.email_signature') }} {!! trans('texts.email_signature') !!}
{{ $account }} {!! $account !!}

View File

@ -1,8 +1,8 @@
{{ trans('texts.email_salutation', ['name' => $userName]) }} {!! trans('texts.email_salutation', ['name' => $userName]) !!}
{{ trans("texts.notification_{$entityType}_approved", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} {!! trans("texts.notification_{$entityType}_approved", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) !!}
{{ trans('texts.email_signature') }} {!! trans('texts.email_signature') !!}
{{ trans('texts.email_from') }} {!! trans('texts.email_from') !!}
{{ trans('texts.user_email_footer') }} {!! trans('texts.user_email_footer') !!}