Update report template to use same font size for all check names

Fixes: #347
This commit is contained in:
Pēteris Caune 2020-12-29 15:14:37 +02:00
parent ca3d1d3a3b
commit efc44fd47c
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
2 changed files with 4 additions and 12 deletions

View File

@ -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 %}
{% 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 }}&nbsp;downtime{{ count|pluralize }},
<br />
{{ seconds|hc_approx_duration }} total
</td>

View File

@ -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 %}
{% else %}
<span style="color: #74787E; font-style: italic;">unnamed</span>
{% endif %}