summaryrefslogtreecommitdiff
path: root/addons/website
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2013-08-10 11:41:29 +0200
committerFabien Pinckaers <fp@tinyerp.com>2013-08-10 11:41:29 +0200
commit06b8b7e8b433f58df094c678d9edce6df319c83d (patch)
tree1dd5de6526303345cfe9e59728f21901cb91de55 /addons/website
parent4c54da4b17c85c2496b6b82452c752c3cf0ef771 (diff)
[IMP] 404 layout
bzr revid: fp@tinyerp.com-20130810094129-p7xznrmlzw8ur9ik
Diffstat (limited to 'addons/website')
-rw-r--r--addons/website/views/views.xml51
1 files changed, 28 insertions, 23 deletions
diff --git a/addons/website/views/views.xml b/addons/website/views/views.xml
index 2f518a9593c..a2a238c9a44 100644
--- a/addons/website/views/views.xml
+++ b/addons/website/views/views.xml
@@ -332,32 +332,37 @@
<template id="404">
<t t-call="website.layout">
- <div class="container">
- <div class="row">
- <div class="span12">
- <h1>404: Page not found!</h1>
- <p>
- The page you were looking for could not be
- found; it is possible you have typed the
- address incorrectly, but it has most
- probably been removed due to the recent
- website reorganisation.
- </p><p>
- Maybe you were looking for one of these
- popular pages ?
- </p>
- <ul>
- <li><a href="/">Homepage</a></li>
- <li><a href="/">Contact Us</a></li>
- </ul>
- </div>
+ <div class="container" t-if="editable">
+ <div class="well mt32">
+ <p>
+ This page does not exists, but you can create
+ it as you are administrator of this site.
+ </p>
+ <a class="btn btn-primary" t-att-href="'/pagenew/'+path">Create Page</a>
</div>
- <div class="row">
- <div class="span12 mt32">
- <a class="btn btn-primary" t-att-href="'/pagenew/'+path" t-if="editable">Create Page</a>
- </div>
+
+ <div class="text-center muted">
+ Edit the content bellow this line to adapt the default "page not found" page.
</div>
</div>
+ <hr/>
+ <div class="container">
+ <h1 class="mt32">404: Page not found!</h1>
+ <p>
+ The page you were looking for could not be
+ found; it is possible you have typed the
+ address incorrectly, but it has most
+ probably been removed due to the recent
+ website reorganisation.
+ </p><p>
+ Maybe you were looking for one of these
+ popular pages ?
+ </p>
+ <ul>
+ <li><a href="/">Homepage</a></li>
+ <li><a href="/">Contact Us</a></li>
+ </ul>
+ </div>
</t>
</template>