[IMP] lunch: back2basics

closes odoo/odoo#38899

X-original-commit: f4dbee9b844015e95afd5edf892489582cf1f397
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
RomainLibert
2019-10-16 16:39:16 +00:00
committed by fw-bot
parent 3daec8b5fb
commit d4fb89cd25
4 changed files with 18 additions and 14 deletions
@@ -20,6 +20,10 @@
color: $o-brand-odoo;
}
.o_flex_basis_0 {
flex-basis: 0;
}
.o_lunch_widget {
min-height: 90px;
max-height: 33vh;
@@ -79,4 +83,4 @@
font-weight: normal !important;
}
}
}
}
+5 -5
View File
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates>
<span t-name="LunchKanbanWidget">
<t t-foreach="widget.alerts" t-as="alert">
<div class="alert alert-warning mb-0" role="alert">
<t t-raw="alert.message"/> <!-- alert.message is coming from a fields.Html so it should be safe -->
</div>
</t>
<div class="o_lunch_kanban_banner container-fluid">
<div class="o_lunch_widget row py-3 py-md-0">
<div class="o_lunch_widget_info col-12 col-md-4 card border-0">
@@ -88,11 +93,6 @@
</div>
</div>
</div>
<t t-foreach="widget.alerts" t-as="alert">
<div class="alert alert-warning mb-0" role="alert">
<t t-raw="alert.message"/> <!-- alert.message is coming from a fields.Html so it should be safe -->
</div>
</t>
</span>
<span t-name="currency_field" class="o_field_monetary o_field_number o_field_widget">