This commit is contained in:
Garrett Delfosse 2024-04-24 20:13:30 +00:00
parent be24a4e9c7
commit 228018ab83
1 changed files with 8 additions and 8 deletions

View File

@ -170,11 +170,10 @@ running). */}}
{{- if .Error.RenderDescriptionMarkdown }} {{ .ErrorDescriptionHTML }} {{ {{- if .Error.RenderDescriptionMarkdown }} {{ .ErrorDescriptionHTML }} {{
else }} else }}
<p>{{ .Error.Description }}</p> <p>{{ .Error.Description }}</p>
{{ end }} {{ end }} {{- if .Error.AdditionalInfo }}
{{- if .Error.AdditionalInfo }} <br />
<br><p>{{ .Error.AdditionalInfo }}</p> <p>{{ .Error.AdditionalInfo }}</p>
{{ end }} {{ end }} {{- if .Error.Warnings }}
{{- if .Error.Warnings }}
<div class="warning"> <div class="warning">
<div class="warning-title"> <div class="warning-title">
<svg <svg
@ -201,9 +200,10 @@ running). */}}
<div class="button-group"> <div class="button-group">
{{- if .Error.RetryEnabled }} {{- if .Error.RetryEnabled }}
<button onclick="window.location.reload()">Retry</button> <button onclick="window.location.reload()">Retry</button>
{{ end }} {{ end }} {{- if .Error.SwitchProtocolLink }}
{{- if .Error.SwitchProtocolLink }} <a href="{{ .Error.SwitchProtocolLink }}"
<a href="{{ .Error.SwitchProtocolLink }}">Switch to {{ .Error.SwitchProtocolTarget }}</a> >Switch to {{ .Error.SwitchProtocolTarget }}</a
>
{{ end }} {{ end }}
<a href="{{ .Error.DashboardURL }}">Back to site</a> <a href="{{ .Error.DashboardURL }}">Back to site</a>
</div> </div>