diff options
| author | fja-odoo <fja@odoo.com> | 2019-05-21 16:50:00 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-07-30 09:04:18 +0000 |
| commit | 0299a3fa2401e0dd9f837bd966948a4c277dcd3d (patch) | |
| tree | a600ea819886ad4ab4e6f825c8035245239cea81 /addons/web_editor/static/src/scss | |
| parent | bb370776100faf43b0afe2c11178662482c52223 (diff) | |
[IMP] web_editor, *: add message when no document/image
* web
The document/image tab in "Select a media" Dialog were not displaying
any info when there was no document/images to load.
Now there is a message with the same image as the backend.
The "All attachments have been loaded" message is only displayed if
there is no more documents to display after using the button "Load More".
The "Load More" button is removed in the backend if there is no
documents/images.
Part of https://github.com/odoo/odoo/pull/33195
task-1945874
closes odoo/odoo#33195
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss')
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.common.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.common.scss b/addons/web_editor/static/src/scss/web_editor.common.scss index bb5d5088716..846252abc8d 100644 --- a/addons/web_editor/static/src/scss/web_editor.common.scss +++ b/addons/web_editor/static/src/scss/web_editor.common.scss @@ -378,3 +378,11 @@ a.o_underline { } } } + +.o_nocontent_help { + @include o-nocontent-empty; + + .o_empty_folder_image:before { + @extend %o-nocontent-empty-document; + } +} |
