diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-07-17 10:59:07 +0200 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2015-08-06 10:14:27 +0200 |
| commit | 441449673adbdd1d20e156fe89510e2d05c114c3 (patch) | |
| tree | 0e7000ffd96c270a32e5aba27503c1ee3df511af /addons/web/static/src/xml/base.xml | |
| parent | f6a246045f0d1dd05b36409c3c0101c52e091d67 (diff) | |
[IMP] web: classnames update for new design compatibility
The DOM structure and elements's classnames diverge in community and enterprise
editions. Tips must work perfectly with both editions, obviously.
This rev. updates some classnames in the community edition for the tips's selectors
to match in both editions.
The following classnames have been renamed/introduced:
- oe_form_buttons_view renamed to o_form_buttons_view
- oe_form_buttons_edit renamed to o_form_buttons_edit
- oe_form_invisible renamed to o_form_invisible
- oe_list now also has classname o_list_view
- header tag in form views now has classname o_form_statusbar_buttons
Other changes like these might be required later if other tips are introduced...
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 7998929a371..3ba802f6ad3 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -468,7 +468,7 @@ </t> <div t-name="FormView.buttons" class="oe_form_buttons"> <t t-if="widget.options.action_buttons !== false"> - <div class="oe_form_buttons_view"> + <div class="o_form_buttons_view"> <button t-if="widget.is_action_enabled('edit')" type="button" class="oe_form_button_edit btn btn-default btn-sm" accesskey="E"> @@ -480,7 +480,7 @@ Create </button> </div> - <span class="oe_form_buttons_edit"> + <span class="o_form_buttons_edit"> <button type="button" class="oe_form_button_save btn btn-primary btn-sm" accesskey="S">Save</button> <span class="oe_fade">or</span> <a href="#" class="oe_bold oe_form_button_cancel" accesskey="D">Discard</a> |
