Skip to content

Commit f2edf05

Browse files
committed
fmt
1 parent 529202d commit f2edf05

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

site/static/error.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,10 @@ <h1>
170170
{{- if .Error.RenderDescriptionMarkdown }} {{ .ErrorDescriptionHTML }} {{
171171
else }}
172172
<p>{{ .Error.Description }}</p>
173-
{{ end }}
174-
{{- if .Error.AdditionalInfo }}
175-
<br><p>{{ .Error.AdditionalInfo }}</p>
176-
{{ end }}
177-
{{- if .Error.Warnings }}
173+
{{ end }} {{- if .Error.AdditionalInfo }}
174+
<br />
175+
<p>{{ .Error.AdditionalInfo }}</p>
176+
{{ end }} {{- if .Error.Warnings }}
178177
<div class="warning">
179178
<div class="warning-title">
180179
<svg
@@ -201,9 +200,10 @@ <h3>Warnings</h3>
201200
<div class="button-group">
202201
{{- if .Error.RetryEnabled }}
203202
<button onclick="window.location.reload()">Retry</button>
204-
{{ end }}
205-
{{- if .Error.SwitchProtocolLink }}
206-
<a href="{{ .Error.SwitchProtocolLink }}">Switch to {{ .Error.SwitchProtocolTarget }}</a>
203+
{{ end }} {{- if .Error.SwitchProtocolLink }}
204+
<a href="{{ .Error.SwitchProtocolLink }}"
205+
>Switch to {{ .Error.SwitchProtocolTarget }}</a
206+
>
207207
{{ end }}
208208
<a href="{{ .Error.DashboardURL }}">Back to site</a>
209209
</div>

0 commit comments

Comments
 (0)