mirror of https://github.com/coder/coder.git
fmt
This commit is contained in:
parent
be24a4e9c7
commit
228018ab83
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue