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/errors')
-rw-r--r--app/views/errors/error_404.haml5
-rw-r--r--app/views/errors/error_422.haml6
-rw-r--r--app/views/errors/error_500.haml6
3 files changed, 0 insertions, 17 deletions
diff --git a/app/views/errors/error_404.haml b/app/views/errors/error_404.haml
index 847b92ef6..d04dbef99 100644
--- a/app/views/errors/error_404.haml
+++ b/app/views/errors/error_404.haml
@@ -1,10 +1,5 @@
- content_for(:page_title) do
The page you were looking for doesn't exist (404)
-.transparent.big-number
- 404
%h3
These are not the kittens you're looking for. Move along.
-%p
- %a{href: "javascript:history.back()"}
- Go Back?
diff --git a/app/views/errors/error_422.haml b/app/views/errors/error_422.haml
index cd3af7d46..3c7ff409f 100644
--- a/app/views/errors/error_422.haml
+++ b/app/views/errors/error_422.haml
@@ -1,13 +1,7 @@
- content_for(:page_title) do
The change you wanted was rejected (422)
-.transparent.big-number
- 422
%h3
The change you wanted was rejected.
%p
Maybe you tried to change something you didn't have access to.
-
-%p
- %a{href: "javascript:history.back()"}
- Go Back?
diff --git a/app/views/errors/error_500.haml b/app/views/errors/error_500.haml
index d566b86ca..61ed69e54 100644
--- a/app/views/errors/error_500.haml
+++ b/app/views/errors/error_500.haml
@@ -1,8 +1,6 @@
- content_for(:page_title) do
We're sorry, but something went wrong (500)
-.transparent.big-number
- 500
%h3
Internal server error.
Our bad! Sorry about that. :(
@@ -10,7 +8,3 @@
- if AppConfig.admins.podmin_email?
%p
Drop us an email to <a href="mailto:#{AppConfig.admins.podmin_email}">#{AppConfig.admins.podmin_email}</a>.
-
-%p
- %a{href: "javascript:history.back()"}
- Go Back?