Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/error_page.haml')
-rw-r--r--app/views/layouts/error_page.haml9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/views/layouts/error_page.haml b/app/views/layouts/error_page.haml
index 258ce9cb3..15f7047ea 100644
--- a/app/views/layouts/error_page.haml
+++ b/app/views/layouts/error_page.haml
@@ -11,5 +11,12 @@
= yield(:head)
- %body{class: "error-#{@code}", id: "error_#{@code}"}
+ %body{class: "error-#{local_assigns[:code]}", id: "error_#{local_assigns[:code]}"}
+ .transparent.big-number
+ = local_assigns[:code]
+
= yield
+
+ %p
+ %a{href: "javascript:history.back()"}
+ Go Back?