| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<templates> |
| 3 |
<t t-name="mail.RottingColumnProgress" t-inherit="web.ColumnProgress" t-inherit-mode="primary"> |
| 4 |
<AnimatedNumber position="before"> |
| 5 |
<t t-set="rottingAggregate" t-value="getRottingGroupCount(props.group)"/> |
| 6 |
<div t-if="rottingAggregate.value > 0" t-on-click="onRottingIconClick" |
| 7 |
t-attf-class="badge rounded-pill o_mail_resource_rotting_bg ms-3 {{ this.rottingFilterAvailable ? 'cursor-pointer' : 'cursor-default' }}" |
| 8 |
t-att-title="rottingAggregate.title"> |
| 9 |
<div class="text-900 text-nowrap"> |
| 10 |
<b t-out="rottingAggregate.value"/> |
| 11 |
</div> |
| 12 |
</div> |
| 13 |
</AnimatedNumber> |
| 14 |
</t> |
| 15 |
</templates> |