nirvash/templates/reverted.html

18 lines
361 B
HTML
Raw Permalink Normal View History

2023-10-21 04:46:37 +00:00
{{ $status := ((.Context).Value "adapter").Revert }}
{{ template "header" . }}
{{ if ne ($status).Success true }}
<h2>Revert Error</h2>
<span class="adapter-error"><pre>{{($status).Message}}</pre></span>
{{ else }}
<h2>Revert Successful</h2>
<span class="adapter-success"><pre>{{($status).Message}}</pre></span>
{{ end }}
{{ template "footer" . }}