Add option for button text color inlining
This commit is contained in:
1 parent
23ab47deb5
commit
c34318393d
3 files changed
+3
-2
No files matched your search
+1
-1
@@ -367,7 +367,7 @@ func (dt *Default) HTMLTemplate() string {
|
|||||||
<tr>
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<div>
|
<div>
|
||||||
<a href="{{ $action.Button.Link }}" class="button" style="background-color: {{ $action.Button.Color }}" target="_blank">
|
<a href="{{ $action.Button.Link }}" class="button" style="background-color: {{ $action.Button.Color }}; color: {{ $action.Button.TextColor }};" target="_blank">
|
||||||
{{ $action.Button.Text }}
|
{{ $action.Button.Text }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ func (dt *Flat) HTMLTemplate() string {
|
|||||||
<tr>
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<div>
|
<div>
|
||||||
<a href="{{ $action.Button.Link }}" class="button" style="background-color: {{ $action.Button.Color }}" target="_blank">
|
<a href="{{ $action.Button.Link }}" class="button" style="background-color: {{ $action.Button.Color }}; color: {{ $action.Button.TextColor }}" target="_blank">
|
||||||
{{ $action.Button.Text }}
|
{{ $action.Button.Text }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user