Debian Codegraph @

addons/mail/static/src/js/rotting_mixin/rotting_widget.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <templates xml:space="preserve">
3 <t t-name="mail.KanbanRottingField">
4 <div class="badge rounded-pill o_mail_resource_rotting_bg d-flex align-items-center" t-if="props.record.data.is_rotting"
5 t-att-title="title">
6 <t t-out="dayCount"/>
7 </div>
8 </t>
9
10 <t t-name="mail.Many2OneFieldRotting">
11 <div class="d-inline-flex">
12 <Many2One t-props="m2oProps"/>
13 <span class="badge rounded-pill o_mail_resource_rotting_bg ms-2" t-if="props.record.data.is_rotting">
14 <t t-out="dayCount"/>
15 </span>
16
17 </div>
18 </t>
19 </templates>