Merge pull request #4 from btcdanny/patch-1
body-sub table, new row for each action closes #2
This commit is contained in:
commit
8fb17c006b
12
default.go
12
default.go
|
@ -343,14 +343,14 @@ func (dt *Default) HTMLTemplate() string {
|
||||||
{{ with .Email.Body.Actions }}
|
{{ with .Email.Body.Actions }}
|
||||||
<table class="body-sub">
|
<table class="body-sub">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
{{ range $action := . }}
|
{{ range $action := . }}
|
||||||
<td>
|
<tr>
|
||||||
<p class="sub">If you’re having trouble with the button '{{ $action.Button.Text }}', copy and paste the URL below into your web browser.</p>
|
<td>
|
||||||
<p class="sub"><a href="{{ $action.Button.Link }}">{{ $action.Button.Link }}</a></p>
|
<p class="sub">If you’re having trouble with the button '{{ $action.Button.Text }}', copy and paste the URL below into your web browser.</p>
|
||||||
</td>
|
<p class="sub"><a href="{{ $action.Button.Link }}">{{ $action.Button.Link }}</a></p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</tr>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue