From 2cb6a515ac019bf5621a4d5bd54cf388f5d65e20 Mon Sep 17 00:00:00 2001 From: r Date: Sat, 3 Apr 2021 06:39:06 +0000 Subject: Update error page - Add retry button for GET requests - Only show signin button when it's a session error --- templates/error.tmpl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/error.tmpl b/templates/error.tmpl index fc925ca..c8da1e6 100644 --- a/templates/error.tmpl +++ b/templates/error.tmpl @@ -2,10 +2,15 @@ {{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
Error
-
{{.Error}}
+
{{.Err}}
- Home - Sign In + home + {{if .Retry}} + retry + {{end}} + {{if .SessionErr}} + signin + {{end}}
{{template "footer.tmpl"}} -- cgit v1.2.3