summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2015-01-20 17:34:16 +0100
committerThibault Delavallée <tde@openerp.com>2015-01-20 17:34:33 +0100
commitb84721cb21f774758e65c4d56d3cad635f73158f (patch)
treeb812263598dda46d08a8672c726f1b059695aa35 /addons/website/static/src/css
parent664b15ee884d3e87d2f613d68fe6d5beb5a6b94d (diff)
[IMP][REF] website: introducing a mixin class to handle website_published
and website_url fields. This will allow to remove custom code in every website addons that redefine those two fields and the URL getter method. The published button in backend has also been cleaned. It is now a link button that redirects to the website_url. It does not change the publish status anymore. Indeed it makes sense publish and unpublish website documents directly in the website, while checking that everything is correct, instead of doing it in the backend. Next commits will update the Odoo addons to use this mixin and the new button in the form view.
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.backend.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website/static/src/css/website.backend.css b/addons/website/static/src/css/website.backend.css
index e6601788bcc..926d66cf799 100644
--- a/addons/website/static/src/css/website.backend.css
+++ b/addons/website/static/src/css/website.backend.css
@@ -1,6 +1,6 @@
-.oe_WidgetWebsiteButton .btn-danger .oe_publish {
+.oe_WidgetWebsiteButton.danger .oe_publish {
display: none;
}
-.oe_WidgetWebsiteButton .btn-success .oe_unpublish {
+.oe_WidgetWebsiteButton.success .oe_unpublish {
display: none;
} \ No newline at end of file