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

View File

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

View File

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