diff options
| author | Xavier Dubuc <xdu@odoo.com> | 2020-12-02 09:32:47 +0000 |
|---|---|---|
| committer | Xavier Dubuc <xdu@odoo.com> | 2020-12-04 09:43:08 +0000 |
| commit | 42f923eac4320c6be733dcbc7d269c64d09b4609 (patch) | |
| tree | 13bdc2dceebe301f173689f6b7127ce0da1267fa /addons/mail/static/src/components/composer/composer.xml | |
| parent | 329b00365e7b7702eb4923443c99ddac13340ae8 (diff) | |
[FIX] mail: split attachments list to improve style
There is now two lists of attachments : first one with images and second
one with non-images. Attachment viewer allows to navigate through
previews of all viewable attachments in the order they're shown.
task-2272587
task-2401325
closes odoo/odoo#62866
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/composer/composer.xml')
| -rw-r--r-- | addons/mail/static/src/components/composer/composer.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/static/src/components/composer/composer.xml b/addons/mail/static/src/components/composer/composer.xml index c85b5802863..cc7038d3a92 100644 --- a/addons/mail/static/src/components/composer/composer.xml +++ b/addons/mail/static/src/components/composer/composer.xml @@ -135,6 +135,7 @@ t-att-class="{ 'o-composer-is-compact': props.isCompact }" areAttachmentsEditable="true" attachmentsDetailsMode="props.attachmentsDetailsMode" + attachmentsImageSize="'small'" attachmentLocalIds="composer.attachments.map(attachment => attachment.localId)" showAttachmentsExtensions="props.showAttachmentsExtensions" showAttachmentsFilenames="props.showAttachmentsFilenames" |
