forked from GithubBackups/healthchecks
Update report template to use same font size for all check names
Fixes: #347
This commit is contained in:
parent
ca3d1d3a3b
commit
efc44fd47c
@ -39,11 +39,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td style="border-top: 1px solid #EDEFF2; padding: 16px 8px; font-family: Helvetica, Arial, sans-serif;">
|
<td style="border-top: 1px solid #EDEFF2; padding: 16px 8px; font-family: Helvetica, Arial, sans-serif;">
|
||||||
{% if check.name %}
|
{% if check.name %}
|
||||||
{% if check.name|length > 20 %}
|
|
||||||
<small>{{ check.name|mangle_link }}</small>
|
|
||||||
{% else %}
|
|
||||||
{{ check.name|mangle_link }}
|
{{ check.name|mangle_link }}
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<span style="color: #74787E; font-style: italic;">unnamed</span>
|
<span style="color: #74787E; font-style: italic;">unnamed</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -70,7 +66,7 @@
|
|||||||
{% if not forloop.last %}
|
{% if not forloop.last %}
|
||||||
{% if count %}
|
{% if count %}
|
||||||
<td style="border-top: 1px solid #EDEFF2; padding: 16px 8px; font-family: Helvetica, Arial, sans-serif;">
|
<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 />
|
<br />
|
||||||
{{ seconds|hc_approx_duration }} total
|
{{ seconds|hc_approx_duration }} total
|
||||||
</td>
|
</td>
|
||||||
|
@ -33,11 +33,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td style="border-top: 1px solid #EDEFF2; padding: 16px 8px; font-family: Helvetica, Arial, sans-serif;">
|
<td style="border-top: 1px solid #EDEFF2; padding: 16px 8px; font-family: Helvetica, Arial, sans-serif;">
|
||||||
{% if check.name %}
|
{% if check.name %}
|
||||||
{% if check.name|length > 20 %}
|
|
||||||
<small>{{ check.name|mangle_link }}</small>
|
|
||||||
{% else %}
|
|
||||||
{{ check.name|mangle_link }}
|
{{ check.name|mangle_link }}
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<span style="color: #74787E; font-style: italic;">unnamed</span>
|
<span style="color: #74787E; font-style: italic;">unnamed</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user