feat(templates): display link in mails sent by authelia (#2785)

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
pull/3088/head
yossbg 2022-04-01 13:34:17 +01:00 committed by GitHub
parent 3c1bb3ec19
commit 1bae65ad33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

View File

@ -97,6 +97,9 @@ const emailHTMLContent = `
text-decoration: none;
text-decoration: none !important;
}
.link {
color: #0645AD;
}
h1 {
line-height: 30px;
@ -330,6 +333,22 @@ const emailHTMLContent = `
<a href="{{.url}}" class="button">{{.button}}</a>
</td>
</tr>
<tr>
<td width="100%" height="20"
style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">
&nbsp;</td>
</tr>
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 16px; color: #333333; text-align:center; line-height: 30px;"
st-title="fulltext-content">
Or
</td>
</tr>
<tr>
<td style="word-break: break-word; overflow-wrap: break-word; text-align:center; line-height: 30px;">
<a href="{{.url}}" class="link">{{.url}}</a>
</td>
</tr>
<!-- End of content -->
</tbody>
</table>