[ADD] menu tips on ViewManagerAction
bzr revid: xmo@openerp.com-20110914093409-1hc5skp9mn17ieir
This commit is contained in:
@@ -987,9 +987,19 @@ label.error {
|
||||
|
||||
.openerp .view-manager-main-content {
|
||||
width: 100%;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.openerp .oe-view-manager-header blockquote {
|
||||
font-size: 85%;
|
||||
margin: 0;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #CECBCB;
|
||||
padding: 1px 10px;
|
||||
color: #4C4C4C;
|
||||
}
|
||||
.openerp .oe-view-manager-header blockquote p {
|
||||
margin: 0;
|
||||
padding: 6px 1px 4px;
|
||||
}
|
||||
.openerp .view-manager-main-sidebar {
|
||||
width: 180px;
|
||||
padding: 0;
|
||||
|
||||
@@ -420,12 +420,14 @@
|
||||
<table class="view-manager-main-table">
|
||||
<tr>
|
||||
<td class="view-manager-main-content">
|
||||
<div class="oe_vm_switch">
|
||||
<t t-if="views.length != 1" t-foreach="views" t-as="view">
|
||||
<button type="button" t-att-data-view-type="view.view_type">
|
||||
<t t-esc="view.view_type"/>
|
||||
</button>
|
||||
</t>
|
||||
<div class="oe-view-manager-header">
|
||||
<div class="oe_vm_switch">
|
||||
<t t-if="views.length != 1" t-foreach="views" t-as="view">
|
||||
<button type="button" t-att-data-view-type="view.view_type">
|
||||
<t t-esc="view.view_type"/>
|
||||
</button>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
<div t-attf-id="#{prefix}_search" t-opentag="true"/>
|
||||
<t t-foreach="views" t-as="view">
|
||||
@@ -442,7 +444,10 @@
|
||||
</t>
|
||||
|
||||
<t t-extend="ViewManager" t-name="ViewManagerAction">
|
||||
<t t-jquery=".view-manager-main-content" t-operation="prepend">
|
||||
<t t-jquery=".oe-view-manager-header" t-operation="prepend">
|
||||
<blockquote t-if="self.action.help"><p>
|
||||
<t t-esc="self.action.help"/>
|
||||
</p></blockquote>
|
||||
<a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
|
||||
href="javascript: void(0)"> </a>
|
||||
<h2 class="oe_view_title">
|
||||
|
||||
Reference in New Issue
Block a user