Changed buttons in quick create

bzr revid: nicolas.vanhoren@openerp.com-20120531094647-by15fj5di9a2m9kv
This commit is contained in:
niv-openerp 2012-05-31 11:46:47 +02:00
parent 53597dc192
commit d5daf869da
2 changed files with 4 additions and 5 deletions

View File

@ -107,9 +107,6 @@
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
} }
.openerp .oe_kanban_view .oe_kanban_quick_create button {
float: right;
}
.openerp .oe_kanban_view .oe_kanban_vignette { .openerp .oe_kanban_view .oe_kanban_vignette {
padding: 8px; padding: 8px;
min-height: 100px; min-height: 100px;

View File

@ -66,8 +66,10 @@
<div t-name="KanbanView.quick_create" class="oe_kanban_quick_create"> <div t-name="KanbanView.quick_create" class="oe_kanban_quick_create">
<input t-att-placeholder="_t('Type name to create')"/> <input t-att-placeholder="_t('Type name to create')"/>
<t t-if="widget._buttons"> <t t-if="widget._buttons">
<div>
<button class="oe-kanban-quick_create_add">Add</button> <button class="oe-kanban-quick_create_add">Add</button>
<button class="oe-kanban-quick_create_close">Close</button> or <a class="oe-kanban-quick_create_close">Cancel</a>
</div>
</t> </t>
</div> </div>
</template> </template>