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 +