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

Minor fixes for designs

This commit is contained in:
David Bomba 2023-02-16 20:05:46 +11:00
parent 7b51db035f
commit a9ef8d2925
3 changed files with 56 additions and 0 deletions

View File

@ -388,6 +388,22 @@ class PaymentEmailEngine extends BaseEmailEngine
*/
private function buildViewButton(string $link, string $text): string
{
return '
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
<tbody><tr>
<td align="center" class="hover-bg-green-600" style="border-radius: 2px; background-color: #66BB7F">
<a href="'. $link . '" target="_blank" class="all-font-sans hover-border-green-600" style="text-decoration: none; border: 1px solid #66BB7F; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
<singleline label="cta button">'. $text .'</singleline>
</a>
</td>
</tr>
</tbody>
</table>
';
return '
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr style="border: 0 !important; ">

View File

@ -978,6 +978,30 @@ html {
*/
private function buildViewButton(string $link, string $text): string
{
return '
<!--[if (gte mso 9)|(IE)]>
<table align="center" cellspacing="0" cellpadding="0" style="width: 600px;">
<tr>
<td align="center" valign="top">
<![endif]-->
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
<tbody><tr>
<td align="center" class="hover-bg-green-600" style="border-radius: 2px; background-color: #66BB7F">
<a href="'. $link . '" target="_blank" class="all-font-sans hover-border-green-600" style="text-decoration: none; border: 1px solid #66BB7F; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
<singleline label="cta button">'. $text .'</singleline>
</a>
</td>
</tr>
</tbody>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
';
return '
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr style="border: 0 !important; ">

View File

@ -807,6 +807,22 @@ html {
*/
private function buildViewButton(string $link, string $text): string
{
return '
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
<tbody><tr>
<td align="center" class="hover-bg-green-600" style="border-radius: 2px; background-color: #66BB7F">
<a href="'. $link . '" target="_blank" class="all-font-sans hover-border-green-600" style="text-decoration: none; border: 1px solid #66BB7F; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
<singleline label="cta button">'. $text .'</singleline>
</a>
</td>
</tr>
</tbody>
</table>
';
return '
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr style="border: 0 !important; ">