mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 05:44:37 -04:00
Minor fixes for documents
This commit is contained in:
parent
e48d521d03
commit
1c89e539cf
@ -109,6 +109,7 @@ class EmailDefaults
|
|||||||
$this->template = $this->email->email_object->settings->email_style;
|
$this->template = $this->email->email_object->settings->email_style;
|
||||||
|
|
||||||
match ($this->email->email_object->settings->email_style) {
|
match ($this->email->email_object->settings->email_style) {
|
||||||
|
'plain' => $this->template = 'email.template.plain',
|
||||||
'light' => $this->template = 'email.template.client',
|
'light' => $this->template = 'email.template.client',
|
||||||
'dark' => $this->template = 'email.template.client',
|
'dark' => $this->template = 'email.template.client',
|
||||||
'custom' => $this->template = 'email.template.custom',
|
'custom' => $this->template = 'email.template.custom',
|
||||||
|
@ -984,6 +984,10 @@ html {
|
|||||||
*/
|
*/
|
||||||
private function buildViewButton(string $link, string $text): string
|
private function buildViewButton(string $link, string $text): string
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if($this->settings->email_style == 'plain')
|
||||||
|
return '<a href="'. $link .'" target="_blank">'. $text .'</a>';
|
||||||
|
|
||||||
return '
|
return '
|
||||||
<div>
|
<div>
|
||||||
<!--[if (gte mso 9)|(IE)]>
|
<!--[if (gte mso 9)|(IE)]>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user