[TASK] Add target _blank to html emails
This commit is contained in:
parent
21725f0f1e
commit
660bc3f275
@ -259,7 +259,7 @@ class MailUtility
|
|||||||
default:
|
default:
|
||||||
return '<a href="'
|
return '<a href="'
|
||||||
. $matchesInner[1]
|
. $matchesInner[1]
|
||||||
. '">'
|
. '" target="_blank">'
|
||||||
. $matchesInner[2]
|
. $matchesInner[2]
|
||||||
. '</a>';
|
. '</a>';
|
||||||
break;
|
break;
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
<f:case value="buttoncenter">
|
<f:case value="buttoncenter">
|
||||||
<span style="display: inline-block;" class="buttonwrapper">
|
<span style="display: inline-block;" class="buttonwrapper">
|
||||||
<f:variable name="rowData">{row.data -> v:format.json.decode()}</f:variable>
|
<f:variable name="rowData">{row.data -> v:format.json.decode()}</f:variable>
|
||||||
<a style="display: inline-block; color: {buttonColor}" href="{rowData.0}">
|
<a style="display: inline-block; color: {buttonColor}" target="_blank" href="{rowData.0}">
|
||||||
<span style="display: inline-block; padding: 10px 15px; border-radius: 3px; background-color: {buttonBackgroundcolor};">
|
<span style="display: inline-block; padding: 10px 15px; border-radius: 3px; background-color: {buttonBackgroundcolor};">
|
||||||
{rowData.1}
|
{rowData.1}
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user