diff options
| author | Simon Lejeune <sle@openerp.com> | 2014-09-11 14:08:03 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2014-09-11 14:09:11 +0200 |
| commit | c240b4a4e8be166f429a37d64fe40fd94cb385ab (patch) | |
| tree | 4fdf5facd2f0486d19110f073319b33084b0c4d8 /addons | |
| parent | a259370fed5bd3545b6544a7479b2da203dad930 (diff) | |
[FIX] website_forum: moved editor-related js files into the editor asset
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website_forum/views/website_forum.xml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml index 3f642674d4a..9f1ef5159c2 100644 --- a/addons/website_forum/views/website_forum.xml +++ b/addons/website_forum/views/website_forum.xml @@ -2,15 +2,6 @@ <openerp> <data> -<!-- Editor custom --> -<template id="assets_frontend" inherit_id="website.assets_frontend" name="website_forum assets"> - <xpath expr="/t" position="inside"> - <link rel='stylesheet' href="/website_forum/static/src/css/website_forum.css"/> - <script type="text/javascript" src="/website_forum/static/src/js/website.tour.forum.js"/> - <script type="text/javascript" src="/website_forum/static/src/js/website_forum.editor.js"/> - </xpath> -</template> - <!-- Layout add nav and footer --> <template id="header_footer_custom" inherit_id="website.footer_default" name="Footer Questions Link"> @@ -37,6 +28,13 @@ </xpath> </template> +<template id="assets_editor" inherit_id="website.assets_editor" name="Forum Editor" groups="base.group_user"> + <xpath expr="." position="inside"> + <script type="text/javascript" src="/website_forum/static/src/js/website.tour.forum.js"/> + <script type="text/javascript" src="/website_forum/static/src/js/website_forum.editor.js"/> + </xpath> +</template> + <!-- Page Index --> <template id="header" name="Forum Index"> <t t-call="website.layout"> |
