[FIX] website_forum: moved editor-related js files into the editor asset
This commit is contained in:
parent
a259370fed
commit
c240b4a4e8
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue