1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Updates for button in custom templates

This commit is contained in:
David Bomba 2023-02-22 10:22:42 +11:00
parent c76bd55de1
commit 9d91659087
3 changed files with 7 additions and 2 deletions

View File

@ -389,6 +389,7 @@ class PaymentEmailEngine extends BaseEmailEngine
private function buildViewButton(string $link, string $text): string
{
return '
<div>
<!--[if (gte mso 9)|(IE)]>
<table align="center" cellspacing="0" cellpadding="0" style="width: 600px;">
<tr>
@ -409,9 +410,10 @@ class PaymentEmailEngine extends BaseEmailEngine
</tr>
</table>
<![endif]-->
</div>
';
return '
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr style="border: 0 !important; ">

View File

@ -979,6 +979,7 @@ html {
private function buildViewButton(string $link, string $text): string
{
return '
<div>
<!--[if (gte mso 9)|(IE)]>
<table align="center" cellspacing="0" cellpadding="0" style="width: 600px;">
<tr>
@ -999,6 +1000,7 @@ html {
</tr>
</table>
<![endif]-->
</div>
';

View File

@ -808,6 +808,7 @@ html {
private function buildViewButton(string $link, string $text): string
{
return '
<div>
<!--[if (gte mso 9)|(IE)]>
<table align="center" cellspacing="0" cellpadding="0" style="width: 600px;">
<tr>
@ -828,10 +829,10 @@ html {
</tr>
</table>
<![endif]-->
</div>
';
return '
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr style="border: 0 !important; ">