Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Render the styled error page for every miss and failure

e84a66f5b53c269d8b0c207d0335b537e1646cb3 · Keenan Nemetz · 15d ago · parent f6f4b1db

Render the styled error page for every miss and failure

Handler-level 404s now use the same view as the catch-all, including unknown
detail resources and download paths. Internal 500s render the shared error
layout and log the detail instead of exposing it. A panic before the first
byte is recovered into that page; a partial response is left to net/http.

Also mark label/assignee triage and inline review comments done in the UI plan,
where the slice order was stale.

server/web/templates/layout.html +5−1

@@ -52,7 +52,7 @@
52 52 </div>
53 53 {{end}}
54 54
55 {{define "notfound"}}
55 {{define "errorpage"}}
56 56 {{template "header" .}}
57 57 <div class="empty-page">
58 58 <p class="eyebrow">Error</p>
@@ -63,6 +63,10 @@
63 63 {{template "footer" .}}
64 64 {{end}}
65 65
66 {{define "notfound"}}{{template "errorpage" .}}{{end}}
67
68 {{define "servererror"}}{{template "errorpage" .}}{{end}}
69
66 70 {{define "token_input"}}
67 71 <div class="label-input" data-label-input data-label-item="{{.Item}}">
68 72 <div class="label-tokens" data-label-tokens>