aboutsummaryrefslogtreecommitdiff
path: root/templates/error.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-05-30 09:13:47 +0000
committerr <r@freesoftwareextremist.com>2021-05-30 09:13:47 +0000
commit4ab53547a81aa954b694fbde292c14bd2d04b76c (patch)
tree4ed7280db468abc4b9a05bf05d5d32776772342a /templates/error.tmpl
parent9f34b607498c09b4a21bdcc82b3295f6c94bd058 (diff)
parent44d4b0d379ddfe004bff710c5c3cb44692500ad4 (diff)
downloadbloat-4ab53547a81aa954b694fbde292c14bd2d04b76c.tar.gz
bloat-4ab53547a81aa954b694fbde292c14bd2d04b76c.zip
Merge branch 'master' into absolute_fluoride
Diffstat (limited to 'templates/error.tmpl')
-rw-r--r--templates/error.tmpl11
1 files changed, 8 insertions, 3 deletions
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)}}
<div class="page-title"> Error </div>
-<div class="error-text"> {{.Error}} </div>
+<div class="error-text"> {{.Err}} </div>
<div>
- <a href="/timeline/home">Home</a>
- <a href="/signin" target="_top">Sign In</a>
+ <a href="/timeline/home">home</a>
+ {{if .Retry}}
+ <a href="{{$.Ctx.Referrer}}">retry</a>
+ {{end}}
+ {{if .SessionErr}}
+ <a href="/signin" target="_top">signin</a>
+ {{end}}
</div>
{{template "footer.tmpl"}}