Fix invite email template (#1202)

This commit is contained in:
gillespi314
2021-06-25 14:10:03 -05:00
committed by GitHub
parent a21d027518
commit da6394a6b7
+3 -37
View File
@@ -102,38 +102,6 @@
<tr>
<td
colspan="2"
style="padding: 60px; font-family: 'Nunito Sans', sans-serif"
>
<h1>You Have Been Invited To Fleet!</h1>
<p><strong>Hello,</strong></p>
<p>
{{.InvitedBy}} has invited you to join
<strong>{{.OrgName}}</strong>. Please click the link below to
accept the invitation and setup your account.
</p>
<table bgcolor="#F9FAFC" height="100px" cellpadding="20px">
<tr>
<td style="font-family: 'Nunito Sans', sans-serif">
{{if .SSOEnabled}}
<a
href="{{.BaseURL}}/login/ssoinvites/{{.Token}}?name={{.Name}}&email={{.Email}}"
>{{.BaseURL}}/login/ssoinvites/{{.Token}}?name={{.Name}}&email={{.Email}}</a
>
{{else}}
<a
href="{{.BaseURL}}/login/invites/{{.Token}}?name={{.Name}}&email={{.Email}}"
>{{.BaseURL}}/login/invites/{{.Token}}?name={{.Name}}&email={{.Email}}</a
>
{{end}}
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#9ca3ac">
<td
valign="middle"
align="left"
style="
padding-top: 48px;
padding-bottom: 48px;
@@ -145,9 +113,7 @@
<h1>You have been invited to Fleet!</h1>
<p>Hello,</p>
<p>
<strong style="text-transform: capitalize"
>{{.InvitedBy}} </strong
>has invited you to join <strong>{{.OrgName}}</strong>.
<strong style="text-transform: capitalize;">{{.InvitedBy}} </strong>has invited you to join <strong>{{.OrgName}}</strong>.
</p>
<p>
Please click the button below to accept the invitation and
@@ -195,7 +161,7 @@
Accept invitation
</a>
{{end}}
<div
style="border-bottom: 1px solid #e2e4ea; padding-top: 32px"
></div>
@@ -238,4 +204,4 @@
</tr>
</table>
</body>
</html>
</html>