Browse Source

[IMP] highlight popup button

pull/149/head
David Beal 9 years ago
parent
commit
4872219c34
  1. 2
      help_popup/report/help.xml
  2. 2
      help_popup/static/src/xml/popup_help.xml
  3. 3
      help_popup/views/popup_help_view.xml

2
help_popup/report/help.xml

@ -13,8 +13,6 @@
<div class="page"> <div class="page">
<b><h1 t-field="o.name"/></b>
<div t-raw="o.owner_help"/> <div t-raw="o.owner_help"/>
<hr width="70%"/> <hr width="70%"/>

2
help_popup/static/src/xml/popup_help.xml

@ -2,7 +2,7 @@
<templates> <templates>
<t t-name="ViewManagerAction" t-extend="ViewManagerAction"> <t t-name="ViewManagerAction" t-extend="ViewManagerAction">
<t t-jquery="h2.oe_view_title" t-operation="before"> <t t-jquery="h2.oe_view_title" t-operation="before">
<span class="oe_button view_help">?</span>
<span> &amp;nbsp; </span><span class="oe_button oe_highlight view_help">?</span>
</t> </t>
</t> </t>
</templates> </templates>

3
help_popup/views/popup_help_view.xml

@ -3,7 +3,8 @@
<data> <data>
<template id="assets_backend" name="custom assets" inherit_id="web.assets_backend"> <template id="assets_backend" name="custom assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<script type="text/javascript" src="/help_popup/static/src/js/popup_help.js"></script>
<script type="text/javascript"
src="/help_popup/static/src/js/popup_help.js"/>
</xpath> </xpath>
</template> </template>
</data> </data>

Loading…
Cancel
Save