[FIX] web : fix the dropdown style to delete attachments
This commit is contained in:
@@ -1092,7 +1092,8 @@
|
|||||||
}
|
}
|
||||||
.openerp .oe-view-manager-header .oe-view-manager-sidebar .oe_sidebar_delete_item {
|
.openerp .oe-view-manager-header .oe-view-manager-sidebar .oe_sidebar_delete_item {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: inline-block;
|
position: absolute;
|
||||||
|
right: 10px;
|
||||||
}
|
}
|
||||||
.openerp .oe-view-manager-header .oe-view-manager-sidebar .dropdown-menu li a {
|
.openerp .oe-view-manager-header .oe-view-manager-sidebar .dropdown-menu li a {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -621,8 +621,10 @@
|
|||||||
</t>
|
</t>
|
||||||
<a class="oe_file_attachment" t-att-title="item.title or ''" t-att-data-section="section.name" t-att-data-index="item_index" t-att-href="item.url">
|
<a class="oe_file_attachment" t-att-title="item.title or ''" t-att-data-section="section.name" t-att-data-index="item_index" t-att-href="item.url">
|
||||||
<t t-raw="item.label"/>
|
<t t-raw="item.label"/>
|
||||||
|
<span t-if="section.name == 'files' and !item.callback" class="oe_sidebar_delete_item" t-att-data-id="item.id" title="Delete this attachment">
|
||||||
|
<i class="fa fa-trash-o"/>
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<a t-if="section.name == 'files' and !item.callback" class="oe_sidebar_delete_item" t-att-data-id="item.id" title="Delete this attachment">x</a>
|
|
||||||
</li>
|
</li>
|
||||||
<li t-if="section.name == 'files'" class="oe_sidebar_add_attachment">
|
<li t-if="section.name == 'files'" class="oe_sidebar_add_attachment">
|
||||||
<t t-call="HiddenInputFile">
|
<t t-call="HiddenInputFile">
|
||||||
|
|||||||
Reference in New Issue
Block a user