From efc44fd47c4a62a4679a102e2110391119f0a2c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Tue, 29 Dec 2020 15:14:37 +0200 Subject: [PATCH] Update report template to use same font size for all check names Fixes: #347 --- templates/emails/summary-downtimes-html.html | 8 ++------ templates/emails/summary-html.html | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/templates/emails/summary-downtimes-html.html b/templates/emails/summary-downtimes-html.html index d4be6b44..1755dd74 100644 --- a/templates/emails/summary-downtimes-html.html +++ b/templates/emails/summary-downtimes-html.html @@ -39,11 +39,7 @@ {% if check.name %} - {% if check.name|length > 20 %} - {{ check.name|mangle_link }} - {% else %} - {{ check.name|mangle_link }} - {% endif %} + {{ check.name|mangle_link }} {% else %} unnamed {% endif %} @@ -70,7 +66,7 @@ {% if not forloop.last %} {% if count %} - {{ count }} downtime{{ count|pluralize }}, + {{ count }} downtime{{ count|pluralize }},
{{ seconds|hc_approx_duration }} total diff --git a/templates/emails/summary-html.html b/templates/emails/summary-html.html index 331515ce..f9d3fb78 100644 --- a/templates/emails/summary-html.html +++ b/templates/emails/summary-html.html @@ -33,11 +33,7 @@ {% if check.name %} - {% if check.name|length > 20 %} - {{ check.name|mangle_link }} - {% else %} - {{ check.name|mangle_link }} - {% endif %} + {{ check.name|mangle_link }} {% else %} unnamed {% endif %} @@ -73,4 +69,4 @@ {% endfor %} {% endfor %} -
\ No newline at end of file +