[IMP] mail: small improvement on systray activity

PURPOSE

- A helper should be aligned vertically in the systray menu.
- A sentence should also be changed by
  "Congratulations, you're done with your activities."

SPECIFICATION

A helper changed and also it will be appeared in the
middle of the dropdown.

Task- 2525928

closes odoo/odoo#70832

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Priyanka Kakadiya
2021-05-17 13:36:02 +00:00
committed by Hiral Bhavsar
parent 62f99565be
commit 6c83017e70
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -94,6 +94,7 @@
color: grey;
opacity: 0.5;
padding: 3px;
min-height: inherit;
}
}
}
+2 -2
View File
@@ -8,8 +8,8 @@
<t t-name="mail.systray.ActivityMenu.Previews">
<t t-set="activities" t-value="widget._activities"/>
<t t-if="_.isEmpty(activities)">
<div class="dropdown-item-text text-center o_no_activity">
<span>No activities planned.</span>
<div class="dropdown-item-text text-center o_no_activity d-flex justify-content-center">
<span>Congratulations, you're done with your activities.</span>
</div>
</t>
<t t-foreach="activities" t-as="activity">