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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-16 22:03:06 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-16 22:03:06 +0400
commit66399d558da45fb9cd3ea972a47a4f7bb12bfc8d (patch)
tree36ad53f35bce1fe3f2a4a5f840e7b1bdbfed9c82 /app/views/errors
parent70174a1e1a132f92abd9106fcfe8d596c6d56bf1 (diff)
parent05da3801f53f06fdc529b4f3820af1380039f245 (diff)
Merge branch 'master' into hooray_apostrophes
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/access_denied.html.haml9
-rw-r--r--app/views/errors/git_not_found.html.haml15
-rw-r--r--app/views/errors/gitolite.html.haml48
-rw-r--r--app/views/errors/not_found.html.haml9
4 files changed, 38 insertions, 43 deletions
diff --git a/app/views/errors/access_denied.html.haml b/app/views/errors/access_denied.html.haml
index d38e06137a1..3b60ed8b0ee 100644
--- a/app/views/errors/access_denied.html.haml
+++ b/app/views/errors/access_denied.html.haml
@@ -1,5 +1,4 @@
-.alert-message.block-message.error
- %h3 Access Denied
- %hr
- %p You are not allowed to access this page.
- %p Read more about project permissions #{link_to "here", help_permissions_path, class: "vlink"}
+%h1 Access Denied
+%hr
+%h2 You are not allowed to access this page.
+%p Read more about project permissions #{link_to "here", help_permissions_path, class: "vlink"}
diff --git a/app/views/errors/git_not_found.html.haml b/app/views/errors/git_not_found.html.haml
index 27ba201a43d..cd01ea1b0e6 100644
--- a/app/views/errors/git_not_found.html.haml
+++ b/app/views/errors/git_not_found.html.haml
@@ -1,9 +1,6 @@
-.alert-message.block-message.error
- %h3 Git Resource Not found
- %hr
- %p
- Application can't get access to some
- %span.label branch
- or
- %span.label commit
- in your repository. It may have been moved.
+%h1 404
+%hr
+%h2 Git Resource Not found
+%p
+ Application can't get access to some branch or commit in your repository. It
+ may have been moved.
diff --git a/app/views/errors/gitolite.html.haml b/app/views/errors/gitolite.html.haml
index 3463e8f027a..4788c2e5237 100644
--- a/app/views/errors/gitolite.html.haml
+++ b/app/views/errors/gitolite.html.haml
@@ -1,27 +1,27 @@
-.alert-message.block-message.error
- %h3 Gitolite Error
- %h4 Application can't get access to your gitolite system.
+%h1 Git Error
+%hr
+%h2 Gitlab was unable to access your Gitolite system.
-%h4 Tips for Administrator:
-
-%ul
- %li
- %p
- Check git logs in admin area
- %li
- %p
- Check config/gitlab.yml for correct settings.
- %li
- %p
- Diagnostic tool:
+.git_error_tips
+ %h4 Tips for Administrator:
+ %ol
+ %li
+ %p
+ Check git logs in admin area
+ %li
+ %p
+ Check config/gitlab.yml for correct settings.
+ %li
+ %p
+ Diagnostic tool:
+ %pre
+ bundle exec rake gitlab:app:status RAILS_ENV=production
+ %li
+ %p
+ Permissions:
%pre
- bundle exec rake gitlab:app:status RAILS_ENV=production
- %li
- %p
- Permissions:
- %pre
- = preserve do
- sudo chmod -R 770 /home/git/repositories/
- sudo chown -R git:git /home/git/repositories/
- sudo chown gitlab:gitlab /home/git/repositories/**/hooks/post-receive
+ = preserve do
+ sudo chmod -R 770 /home/git/repositories/
+ sudo chown -R git:git /home/git/repositories/
+ sudo chown gitlab:gitlab /home/git/repositories/**/hooks/post-receive
diff --git a/app/views/errors/not_found.html.haml b/app/views/errors/not_found.html.haml
index 374c4f37d17..a4e8d0204a9 100644
--- a/app/views/errors/not_found.html.haml
+++ b/app/views/errors/not_found.html.haml
@@ -1,5 +1,4 @@
-.alert-message.block-message.error
- %h3 Not found
- %hr
- %p The resource you were looking for doesn't exist.
- %p You may have mistyped the address or it may have been removed.
+%h1 404
+%hr
+%h2 The resource you were looking for doesn't exist.
+%p You may have mistyped the address or the page may have moved.