]> git.mxchange.org Git - friendica.git/commitdiff
html mail template add img tag only if source_photo is defined
authorfabrixxm <fabrix.xm@gmail.com>
Sun, 7 Sep 2014 09:20:56 +0000 (11:20 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Sun, 7 Sep 2014 09:20:56 +0000 (11:20 +0200)
view/templates/email_notify_html.tpl

index 4eccff63f390e48120e803da25b61c298569044d..94fac7447134f5ad9c86b36e274d5686efa9604d 100644 (file)
 
 
        {{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}}