summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/static/src/xml/website.xml')
-rw-r--r--addons/website/static/src/xml/website.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml
index b35dd8a9cfc..d5368ec7b94 100644
--- a/addons/website/static/src/xml/website.xml
+++ b/addons/website/static/src/xml/website.xml
@@ -72,16 +72,21 @@
<button title="Close" type="button" class="close" data-dismiss="modal">×</button>
<div class="h2"><t t-esc="title"/></div>
</div>
- <div class="modal-body">
+ <div class="modal-body" t-if="message or backend_url">
<section>
<t t-esc="message"/>
</section>
- <section class="mt32">
- You have encountered an error. You can edit in the <a t-att-href="backend_url">backend</a> this data.
+ <section class="mt32" t-if="backend_url">
+ <p>The web site has encountered an error.</p>
+ <p>
+ It might be possible to edit the relevant items
+ or fix the issue in <a t-href="#{backend_url}">
+ the classic OpenERP interface</a>.
+ </p>
</section>
</div>
<div class="modal-footer">
- <button type="button" data-dismiss="modal" href="#" class="close btn btn-default">Close</button>
+ <button type="button" data-dismiss="modal" class="btn btn-primary">Close</button>
</div>
</div>
</div>