[IMP] website: hide publish/edit button on editable mode
bzr revid: chm@openerp.com-20131128143646-fl3okv6wisqio8xq
This commit is contained in:
parent
a58a43632d
commit
20a0119ed6
|
@ -1,3 +1,4 @@
|
|||
@charset "utf-8";
|
||||
/* ---- CKEditor Minimal Reset ---- */
|
||||
.navbar.navbar-inverse .cke_chrome {
|
||||
border: none;
|
||||
|
@ -85,6 +86,10 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
.cke_editable .css_editable_mode_hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.oe_carousel_options {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
|
|
|
@ -70,6 +70,9 @@
|
|||
.css_non_editable_mode_hidden
|
||||
display: none
|
||||
|
||||
.cke_editable .css_editable_mode_hidden
|
||||
display: none
|
||||
|
||||
.oe_carousel_options
|
||||
cursor: pointer
|
||||
position: absolute
|
||||
|
|
|
@ -266,7 +266,7 @@
|
|||
</template>
|
||||
|
||||
<template id="publish_management">
|
||||
<div t-if="editable" t-ignore="true" class="pull-right" t-att-style="style or ''">
|
||||
<div t-if="editable" t-ignore="true" class="pull-right css_editable_mode_hidden" t-att-style="style or ''">
|
||||
<div t-attf-class="btn-group js_publish_management #{object.website_published and 'css_published' or 'css_unpublished'}" t-att-data-id="object.id" t-att-data-object="object._name" t-att-data-controller="publish_controller">
|
||||
<button t-attf-class="btn btn-#{object.website_published and 'success' or 'danger'} js_publish_btn">
|
||||
<span class="css_publish">Not Published</span>
|
||||
|
|
Loading…
Reference in New Issue