🐛 Re-add comment

This commit is contained in:
Clement 2020-07-20 16:55:30 +02:00
parent 0c155199db
commit b07c89a69f

View File

@ -3,6 +3,8 @@ subject: "ReadLaterByEmail link"
LOGO: "{{ asset('images/logo.png') }}" LOGO: "{{ asset('images/logo.png') }}"
IMAGE: "{{ $link->image }}" IMAGE: "{{ $link->image }}"
IMAGE_VAR: "$link->image" IMAGE_VAR: "$link->image"
COMMENT: "{{ $link->comment }}"
COMMENT_VAR: "$link->comment"
TITLE: "{{ $link->title }}" TITLE: "{{ $link->title }}"
EXCERPT: "@if(!empty($link->excerpt)) {!! $link->excerpt !!} @else {{ $link->description }} @endif" EXCERPT: "@if(!empty($link->excerpt)) {!! $link->excerpt !!} @else {{ $link->description }} @endif"
URL: "{{ $link->url }}" URL: "{{ $link->url }}"
@ -15,12 +17,24 @@ URL: "{{ $link->url }}"
@if(!empty({{{ IMAGE_VAR }}})) @if(!empty({{{ IMAGE_VAR }}}))
<columns large="6" valign="middle"> <columns large="6" valign="middle">
<center> <center>
<img src="{{{ IMAGE }}}" alt=""> <img src="{{{ IMAGE }}}" alt="" style="max-width: 300px">
</center> </center>
</columns> </columns>
@endif @endif
</row> </row>
@if(!empty({{{ COMMENT_VAR }}}))
<hr/>
<row>
<columns>
<spacer size="16"></spacer>
<p class="text-center">
{{{ COMMENT }}}
</p>
</columns>
</row>
@endif
<hr/> <hr/>
<row> <row>