Minor improvements to email
This commit is contained in:
parent
3a44890803
commit
e28a003bae
@ -38,7 +38,7 @@ class WebTask(Task):
|
||||
css=css,
|
||||
text='<p>The task <i>{}</i> failed execution. The output was:</p><pre>{}</pre>'.format(self.label, '\n'.join(self.messages))
|
||||
)
|
||||
html = premailer.Premailer(html).transform()
|
||||
html = premailer.Premailer(html, strip_important=False).transform()
|
||||
|
||||
body = flask.render_template(
|
||||
'email/base.txt',
|
||||
|
@ -59,7 +59,7 @@
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="content-block">
|
||||
<span class="apple-link"><a href="{{ eosweb.app.config['BASE_URI'] }}">Eos Voting for {{ eosweb.app.config['ORG_NAME'] }}</a></span>
|
||||
<a href="{{ eosweb.app.config['BASE_URI'] }}" style="text-decoration: none">Eos Voting for {{ eosweb.app.config['ORG_NAME'] }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -115,7 +115,7 @@ table {
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
TYPOGRAPHY
|
||||
TYPOGRAPHY
|
||||
------------------------------------- */
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
@ -258,6 +258,14 @@ hr {
|
||||
Margin: 20px 0;
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
MISCELLANEOUS
|
||||
------------------------------------- */
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
RESPONSIVE AND MOBILE FRIENDLY STYLES
|
||||
------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user