diff options
| author | Priyanka Kakadiya <pka@odoo.com> | 2020-05-18 11:08:53 +0000 |
|---|---|---|
| committer | Hiral Bhavsar <hbh@odoo.com> | 2020-05-19 07:20:31 +0000 |
| commit | 63987cfea2b7ee786d9f29143dd8051e7d4c0c29 (patch) | |
| tree | d28116f522957b95a4083c5ae4f1e37ed31f676f /addons/mail/static/src/xml/activity.xml | |
| parent | a1d27a153c456842381bef92336e23fd1b919d4b (diff) | |
[IMP] mail: display activity summary in dropdown
PURPOSE
Currently, the activity dropdown displays the activity types of activities.
The goal is to display the activity summaries instead, and fallback on the
activity type if there is no summary set.
SPECIFICATION
In the activity dropdown, display the activity summary instead of the activity
type. Only display the activity type if there is no summary set on the activity.
A long summary will be ended with a ellipsis.
Here, handled a long summary for chatter, list, kanban, and activity views.
LINKS
Task: 2254893
PR https://github.com/odoo/odoo/pull/51438
closes odoo/odoo#51438
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/xml/activity.xml')
| -rw-r--r-- | addons/mail/static/src/xml/activity.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/activity.xml b/addons/mail/static/src/xml/activity.xml index 8d41c15093b..487eb2101fe 100644 --- a/addons/mail/static/src/xml/activity.xml +++ b/addons/mail/static/src/xml/activity.xml @@ -25,7 +25,7 @@ <div class="o_thread_message_core"> <div class="o_mail_info text-muted"> <strong><span t-attf-class="o_activity_date o_activity_color_#{activity.state}"><t t-esc="activity.label_delay" /></span></strong>: - <strong t-if="activity.summary"> “<t t-esc="activity.summary"/>”</strong> + <strong t-if="activity.summary" class="o_activity_summary"> “<t t-esc="activity.summary"/>”</strong> <strong t-if="!activity.summary"> <t t-esc="activity.activity_type_id[1]" /></strong> <em> for </em> <t t-esc="activity.user_id[1]" /> |
