templates/reverted.html (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
{{ $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" . }} |