mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-16 08:02:40 +01:00
22 lines
1.1 KiB
PHP
22 lines
1.1 KiB
PHP
<!-- https://gist.github.com/elidickinson/9424116#file-html_email_buttons_1-html -->
|
|
<div style="display:inline-block;width:190px">
|
|
<!--[if mso]>
|
|
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $link }}" style="height:44px;v-text-anchor:middle;width:180px;" arcsize="10%" stroke="f" fillcolor="{{ $color }}">
|
|
<w:anchorlock/>
|
|
<center style="color:#ffffff;font-family:sans-serif;font-size:16px;font-weight:bold;">
|
|
{{ trans("texts.{$field}") }}
|
|
</center>
|
|
</v:roundrect>
|
|
<![endif]-->
|
|
<![if !mso]>
|
|
<table cellspacing="0" cellpadding="0"> <tr>
|
|
<td align="center" width="180" height="44" bgcolor="{{ $color }}" style="-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; color: #ffffff; display: block;">
|
|
<a href="{{ $link }}" style="font-size:16px; font-weight: bold; font-family:sans-serif; text-decoration: none; line-height:44px; width:100%; display:inline-block">
|
|
<span style="color: #ffffff;">
|
|
{{ trans("texts.{$field}") }}
|
|
</span>
|
|
</a>
|
|
</td>
|
|
</tr> </table>
|
|
<![endif]>
|
|
</div> |