diff options
| author | Michaël Mattiello <mcm@odoo.com> | 2019-09-03 09:30:49 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-09-03 15:02:21 +0000 |
| commit | 8c9473fd78f14dea1c55765da4f3e55f8962bcc6 (patch) | |
| tree | df648c1f8016ed1df17e4005855657e111fa9fd5 /addons/website_slides_survey/views | |
| parent | c4eba6f5b150a0e881b7fb9b935ef1a0c3154bbf (diff) | |
[IMP] website_slides_{*}: improve backend UI, views and user actions
Purpose of this commit is to perform a back2basics on eLearning backend
views. It helps users in their daily use of eLearning and improve UI.
Containing
* channel kanban view tweaking;
* channel form view: some spacing and renaming improvements. Also set
advanced field (new content email, share template) as group no one;
* slide kanban view tweaking;
* removed sections from kanban and list view for contents;
* contents form view: various improvements, with notably
* removed field website_url;
* set publishded date is now readonly, tracked and in group_no_one as
it is automatically set when publishing the lesson, and people should
not update it manually;
* removed the sum "Content" and replaced it by a stat button
* reword quiz constraint error messages;
* rating views improvements:
* revamped the kanban view of rating that were a bit broken;
* added a pivot view in Reporting/Reviews;
* updated graph view in Reporting/Reviews;
This commit also provides some usability fixes
* prevent sending email if new content is category;
* email: Prevent displaying an image if there is no image;
LINKS
Task 2049640 (website slides back2basics and fiximp)
Task 2058595 (eLearning v13 testing)
Diffstat (limited to 'addons/website_slides_survey/views')
| -rw-r--r-- | addons/website_slides_survey/views/slide_channel_views.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_slides_survey/views/slide_channel_views.xml b/addons/website_slides_survey/views/slide_channel_views.xml index 5a783677320..1ff9e02a556 100644 --- a/addons/website_slides_survey/views/slide_channel_views.xml +++ b/addons/website_slides_survey/views/slide_channel_views.xml @@ -5,12 +5,12 @@ <field name="model">slide.channel</field> <field name="inherit_id" ref="website_slides.view_slide_channel_form"/> <field name="arch" type="xml"> - <xpath expr="//span[@name='stat_label']" position="replace"> + <xpath expr="//span[@name='members_done_count_label']" position="replace"> <span class="o_stat_text" attrs="{'invisible': [('nbr_certification', '>', 0)]}">Finished</span> <span class="o_stat_text" attrs="{'invisible': [('nbr_certification', '=', 0)]}">Certified</span> </xpath> <xpath expr="//field[@name='nbr_webpage']" position="after"> - <field string="Certifications" name="nbr_certification"/> + <field name="nbr_certification" string="Certifications"/> </xpath> <xpath expr="//field[@name='slide_type']" position="after"> <field name="survey_id"/> |
