Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions allgreen/templates/allgreen/healthcheck.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Health Check - {{ app_name or "Application" }}</title>
<title>Health Check - {{ app_name|default:"Application" }}</title>
<style>
:root {
--bg-color: #ffffff;
Expand Down Expand Up @@ -261,7 +261,7 @@ <h1>
Health Check
{% endif %}
</h1>
<p>{{ app_name or "Application" }} Status</p>
<p>{{ app_name|default:"Application" }} Status</p>
</div>

<div class="container">
Expand Down Expand Up @@ -300,7 +300,7 @@ <h1>
{% endif %}
<div class="check-title">{{ check.description }}</div>
{% if result.duration_ms is not none %}
<div class="check-duration">{{ "%.1f"|format(result.duration_ms) }}ms</div>
<div class="check-duration">{{ result.duration_ms|floatformat:1 }}ms</div>
{% endif %}
</div>

Expand Down
4 changes: 2 additions & 2 deletions allgreen/templates/healthcheck.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Health Check - {% if app_name %}{{ app_name }}{% else %}Application{% endif %}</title>
<title>Health Check - {{ app_name or "Application" }}</title>
<style>
:root {
--bg-color: #ffffff;
Expand Down Expand Up @@ -261,7 +261,7 @@ <h1>
Health Check
{% endif %}
</h1>
<p>{% if app_name %}{{ app_name }}{% else %}Application{% endif %} Status</p>
<p>{{ app_name or "Application" }} Status</p>
</div>

<div class="container">
Expand Down