[FIX] website: order of script for editor and tours

bzr revid: chm@openerp.com-20131211153345-6hand0upjjqba85f
This commit is contained in:
Christophe Matthieu 2013-12-11 16:33:45 +01:00
parent 2733f9b287
commit 17e132bb01
4 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="editor_head" inherit_id="website.layout" name="Blog Editor" groups="base.group_website_designer">
<xpath expr="//head" position="inside">
<template id="editor_head" inherit_id="website.editor_head" name="Blog Editor" groups="base.group_website_designer">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/website_blog/static/src/js/website_blog.editor.js"></script>
<script type="text/javascript" src="/website_blog/static/src/js/website.tour.blog.js"></script>
</xpath>

View File

@ -2,8 +2,8 @@
<openerp>
<data>
<template id="editor_head" inherit_id="website.layout" name="Event Editor" groups="base.group_website_designer">
<xpath expr="//head" position="inside">
<template id="editor_head" inherit_id="website.editor_head" name="Event Editor" groups="base.group_website_designer">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/website_event/static/src/js/website_event.editor.js"></script>
<script type="text/javascript" src="/website_event/static/src/js/website.tour.event.js"></script>
</xpath>

View File

@ -7,8 +7,8 @@
<field name="description">Job Posts on your website</field>
</record>
<template id="editor_head" inherit_id="website.layout" name="Jobs Editor" groups="base.group_website_designer">
<xpath expr="//head" position="inside">
<template id="editor_head" inherit_id="website.editor_head" name="Jobs Editor" groups="base.group_website_designer">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/website_hr_recruitment/static/src/js/website_hr_recruitment.editor.js"></script>
</xpath>
</template>

View File

@ -5,8 +5,8 @@
<!-- Layout add nav and footer -->
<template id="editor_head" inherit_id="website.layout" name="Shop Editor" groups="base.group_website_designer">
<xpath expr="//head" position="inside">
<template id="editor_head" inherit_id="website.editor_head" name="Shop Editor" groups="base.group_website_designer">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/website_sale/static/src/js/website_sale.editor.js"></script>
<script type="text/javascript" src="/website_sale/static/src/js/website.tour.shop.js"></script>
</xpath>