diff options
| author | qmo-odoo <qmo@odoo.com> | 2019-05-09 07:07:37 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-05-22 09:16:20 +0000 |
| commit | e87a74e3ca7b6963a41bca007a5be4011b3debc3 (patch) | |
| tree | 7469e5fde379cda30a6a0009a0d438780f5f7533 /addons | |
| parent | a71fdc058da8e6a88a98adf9fd985e564f1e947e (diff) | |
[FIX] website_slides: remove the "uncategorized" label in course view
This commit removes the uncategorized label from the course view. Note that
it only removes the label, not the content. FP request.
Linked to task 1978530
Related to PR #33559
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website_slides/views/website_slides_templates_course.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/website_slides/views/website_slides_templates_course.xml b/addons/website_slides/views/website_slides_templates_course.xml index 288a4eb718f..e00b7d8d26b 100644 --- a/addons/website_slides/views/website_slides_templates_course.xml +++ b/addons/website_slides/views/website_slides_templates_course.xml @@ -336,8 +336,7 @@ <i class="fa fa-bars"/> </div> <span t-if="category_id" t-att-class="'text-muted' if not channel.can_upload else ''" t-esc="category['name']"/> - <em t-elif="channel.can_publish" class="text-muted mb-1">Uncategorized</em> - <small t-if="not category['total_slides']" class="ml-1 text-muted"><b>(empty)</b></small> + <small t-if="not category['total_slides'] and category_id" class="ml-1 text-muted"><b>(empty)</b></small> </div> <div t-if="category_id" class="o_text_link d-flex border-left"> <a t-if="channel.can_upload" |
