check / check (push) Waiting to run
Saving, deleting, activating or deactivating a webhook, entrypoint or target, and signing out, now land on their page with a one-line notice such as "Webhook deleted." or "Signed out.". The redirect carries a fixed code that maps to fixed text; an unknown code shows nothing, so nothing from the URL is ever echoed. One partial in the page layout shows the notice on every page, and replay and resubmit now use the same codes and partial. Error pages show no notice. Model: opus-5-5
8 lines
189 B
HTML
8 lines
189 B
HTML
{{define "notice"}}
|
|
{{with .Notice}}
|
|
<div class="max-w-6xl mx-auto px-6 pt-4">
|
|
<div class="{{if .Failed}}alert-error{{else}}alert-success{{end}}">{{.Text}}</div>
|
|
</div>
|
|
{{end}}
|
|
{{end}}
|