mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-07 22:25:35 +00:00
Update report template to use same font size for all check names
Fixes: #347
This commit is contained in:
parent
ca3d1d3a3b
commit
efc44fd47c
2 changed files with 4 additions and 12 deletions
templates/emails
|
@ -39,11 +39,7 @@
|
|||
</td>
|
||||
<td style="border-top: 1px solid #EDEFF2; padding: 16px 8px; font-family: Helvetica, Arial, sans-serif;">
|
||||
{% if check.name %}
|
||||
{% if check.name|length > 20 %}
|
||||
<small>{{ check.name|mangle_link }}</small>
|
||||
{% else %}
|
||||
{{ check.name|mangle_link }}
|
||||
{% endif %}
|
||||
{{ check.name|mangle_link }}
|
||||
{% else %}
|
||||
<span style="color: #74787E; font-style: italic;">unnamed</span>
|
||||
{% endif %}
|
||||
|
@ -70,7 +66,7 @@
|
|||
{% if not forloop.last %}
|
||||
{% if count %}
|
||||
<td style="border-top: 1px solid #EDEFF2; padding: 16px 8px; font-family: Helvetica, Arial, sans-serif;">
|
||||
{{ count }} downtime{{ count|pluralize }},
|
||||
{{ count }} downtime{{ count|pluralize }},
|
||||
<br />
|
||||
{{ seconds|hc_approx_duration }} total
|
||||
</td>
|
||||
|
|
|
@ -33,11 +33,7 @@
|
|||
</td>
|
||||
<td style="border-top: 1px solid #EDEFF2; padding: 16px 8px; font-family: Helvetica, Arial, sans-serif;">
|
||||
{% if check.name %}
|
||||
{% if check.name|length > 20 %}
|
||||
<small>{{ check.name|mangle_link }}</small>
|
||||
{% else %}
|
||||
{{ check.name|mangle_link }}
|
||||
{% endif %}
|
||||
{{ check.name|mangle_link }}
|
||||
{% else %}
|
||||
<span style="color: #74787E; font-style: italic;">unnamed</span>
|
||||
{% endif %}
|
||||
|
@ -73,4 +69,4 @@
|
|||
{% endfor %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
<br />
|
||||
<br />
|
||||
|
|
Loading…
Add table
Reference in a new issue