fix(mailer): Use `monospace` for the unblock code for better legibility.

In the write-to-disk script, print some characters that are similar
to see how they appear using the fonts.
This commit is contained in:
Shane Tomlinson 2016-10-07 11:26:54 +01:00
Родитель 9fc662669f
Коммит aca2db4799
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -14,7 +14,7 @@
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0 0 24px 0; text-align: center;">
{{t "If yes, here is the authorization code you need:" }}
</p>
<p style="font-family: sans-serif; font-size: 18px; font-weight: normal; margin: 0 0 24px 0; text-align: center;">
<p style="font-family: monospace !important; font-size: 18px; font-weight: normal; margin: 0 0 24px 0; text-align: center;">
{{ unblockCode }}
</p>
</td>

Просмотреть файл

@ -101,7 +101,7 @@ function sendMail(mailer, messageToSend) {
uaBrowserVersion: '51',
uaOS: 'Mac OSX',
uaOSVersion: '10.11',
unblockCode: '12AZ5P33',
unblockCode: '1ILO0Z5P',
uid: '6510cb04abd742c6b3e4abefc7e39c9f'
}

Просмотреть файл

@ -34,7 +34,7 @@
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0 0 24px 0; text-align: center;">
{{t "If yes, here is the authorization code you need:" }}
</p>
<p style="font-family: sans-serif; font-size: 18px; font-weight: normal; margin: 0 0 24px 0; text-align: center;">
<p style="font-family: monospace !important; font-size: 18px; font-weight: normal; margin: 0 0 24px 0; text-align: center;">
{{ unblockCode }}
</p>
</td>