]> git.mxchange.org Git - friendica.git/commitdiff
Fix & align mail text ... again
authornupplaPhil <admin+github@philipp.info>
Sun, 8 Mar 2020 07:26:21 +0000 (08:26 +0100)
committernupplaPhil <admin+github@philipp.info>
Sun, 8 Mar 2020 07:26:21 +0000 (08:26 +0100)
view/templates/email/html.tpl
view/templates/email/notify/html.tpl
view/templates/email/system/html.tpl

index 103572eaed3cf9e361984ed53ba37d7371296e20..08de50a54fcf93dce9fe62c01973d0d7117d59eb 100644 (file)
                                <div style="clear: both;"></div>
                        </td>
                </tr>
+               <tr>
+                       <td>
+                               {{$htmlversion nofilter}}
+                       </td>
+               </tr>
        </tbody>
        </table>
-       <p>
-       {{$htmlversion nofilter}}
-       </p>
 </body>
 </html>
index f7c3f7d8f9ec5575fcff894d31bd180cbbf11d65..1be8c9eafa4b98dd78044dc9ef61529e2897bcfc 100644 (file)
@@ -1,20 +1,48 @@
 <table>
-<tbody>
-       <tr><td colspan="2" style="padding-top:22px;">{{$preamble nofilter}}</td></tr>
-
+       <thead>
+               <tr>
+                       <td colspan="2" style="padding-top:22px;">
+                               {{$preamble nofilter}}
+                       </td>
+               </tr>
+       </thead>
 {{if $content_allowed}}
+       <tbody>
        {{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>
+               <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 nofilter}}</td></tr>
+               <tr>
+                       <td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td>
+               </tr>
+               <tr>
+                       <td style="padding-right:22px;">{{$htmlversion nofilter}}
+               </td>
+               </tr>
 {{/if}}
-       <tr><td colspan="2" style="padding-top:11px;">{{$hsitelink nofilter}}</td></tr>
-       <tr><td colspan="2" style="padding-bottom:11px;">{{$hitemlink nofilter}}</td></tr>
-       <tr><td></td><td>{{$thanks}}</td></tr>
-       <tr><td></td><td>{{$site_admin}}</td></tr>
-</tbody>
+       </tbody>
+       <tfoot>
+               <tr>
+                       <td colspan="2" style="padding-top:11px;">
+                               {{$hsitelink nofilter}}
+                       </td>
+               </tr>
+               <tr>
+                       <td colspan="2" style="padding-bottom:11px;">
+                               {{$hitemlink nofilter}}
+                       </td>
+               </tr>
+               <tr>
+                       <td>
+                               {{$thanks}}
+                       </td>
+               </tr>
+               <tr>
+                       <td>
+                               {{$site_admin}}
+                       </td>
+               </tr>
+       </tfoot>
 </table>
index f32825d3ee7d76f6cc84813b3a0a166c7f8149a9..8f4e1573f38b94bb65dcb2d4ca457995c313eda6 100644 (file)
@@ -1,5 +1,28 @@
 <table>
-<tr><td style="padding-right:22px;">{{$htmlversion nofilter}}</td></tr>
-<tr><td>{{$thanks}}</td></tr>
-<tr><td>{{$site_admin}}</td></tr>
+       <thead>
+       <tr>
+               <td>
+                       {{$preamble nofilter}}
+               </td>
+       </tr>
+       </thead>
+       <tbody>
+               <tr>
+                       <td style="padding-right:22px;">
+                               {{$htmlversion nofilter}}
+                       </td>
+               </tr>
+       </tbody>
+       <tfoot>
+               <tr>
+                       <td>
+                               {{$thanks}}
+                       </td>
+       </tr>
+       <tr>
+               <td>
+                       {{$site_admin}}
+               </td>
+       </tr>
+       </tfoot>
 </table>