html mail template add img tag only if source_photo is defined

This commit is contained in:
fabrixxm 2014-09-07 11:20:56 +02:00
parent 9a0c37eb47
commit 9368c7e510

View file

@ -15,8 +15,10 @@
{{if $content_allowed}}
{{if $source_photo}}
<tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$source_link}}"><img style="border:0px;width:48px;height:48px;" src="{{$source_photo}}"></a></td>
<td style="padding-top:22px;"><a href="{{$source_link}}">{{$source_name}}</a></td></tr>
{{/if}}
<tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
<tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
{{/if}}