-
Notifications
You must be signed in to change notification settings - Fork 0
/
message.html
51 lines (50 loc) · 2.19 KB
/
message.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{{/*
Copyright 2016 Team 254. All Rights Reserved.
Author: [email protected] (Patrick Fairbank)
HTML template for reformatting mailing list messages.
*/}}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table>
<tr>
<td width="475px" valign="top" style="font-size: 10pt!important;font-family: Century Gothic, sans-serif!important;line-height: 1.5em!important; color: #333;">
{{.Body}}
{{if .Attachments}}
<br />
<b>Attachments:</b><br />
{{range $attachment := .Attachments}}
<a href="{{$.AttachmentBaseUrl}}/{{$attachment}}">{{$attachment}}</a><br />
{{end}}
{{end}}
</td>
<td width="100px" valign="top" style="font-size: 8pt!important;font-family: Century Gothic, sans-serif!important;line-height: 1.5em!important; color: #333; padding-left: 15px; text-align: right; padding-bottom: 10px;">
<a href="http://team254.com" target=_blank><img src="http://media.team254.com/resources/graphics/swoosh-email.png" width="100px" style="margin-right:-5px"></a>
<br/><br/>
<strong>Team 254 Robotics</strong>
<br/>
{{.Date}}
</td>
</tr>
<tr>
<td colspan="2" width="599px" style="padding: 10px 50px 0; font-size: 8pt!important;font-family: Century Gothic, sans-serif!important;line-height: 1.5em!important; color: #ccc; border-top: 1px solid #ccc; text-align: center;">
<p>This message may contain confidential information. Please do not distribute outside of the team.</p>
<p>
You are receiving this message because you are a registered user on
<a href="https://team254.com" style="color: #ccc" target=_blank>team254.com</a>.
{{if .UnsubscribeLink}}Click <a href="{{.UnsubscribeLink}}">here</a> to unsubscribe.{{end}}
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
{{if .IsDebug}}
<p><b>Debugging information</b></p>
<p>Recipients:<br />
{{range $recipient := .AllRecipients}}
{{$recipient.Email}}<br />
{{end}}
</p>
{{end}}