mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] Make web_environment_ribbon more generic
By creating the ribbon div on the fly, this module doesn't depend anymore on the webclient structure.
This commit is contained in:
committed by
Pedro M. Baeza
parent
519d966b2d
commit
5a2b8e045e
@@ -15,12 +15,4 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Add ribbon to page -->
|
||||
<template id="body_with_ribbon_test" name="ribbon_test web.webclient_bootstrap"
|
||||
inherit_id="web.webclient_bootstrap">
|
||||
<xpath expr="//div[@class='openerp openerp_webclient_container oe_webclient']" position="before">
|
||||
<div class="test-ribbon"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user