diff options
| author | Patrick Hoste <pko@odoo.com> | 2019-06-17 09:41:58 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-06-18 11:25:03 +0000 |
| commit | f0ec2a8fc8b43c7b06d17ea67dd258459cdf3ac2 (patch) | |
| tree | 1778c8119d4ab90141d09abb1261c5ec8ad59d09 /addons/website_slides/views/slide_slide_views.xml | |
| parent | 800a55c06f70d36673defa808b2a943130e69c8f (diff) | |
[FIX] website_slides: fix various issues to eLearning platform
Including
* change h4 to h1 on the slide page;
* add the rel='canonical' link header on the fullscreen view in order to
improve SEO and links;
* add space between quiz questions;
* remove social share statistics as they are broken and not really useful;
* moved tabs before the Quiz on the slide page;
* allow to modify slide in backend by removing some readonly attributes;
Linked to task ID 2010024
Related to PR #34176
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_slides/views/slide_slide_views.xml')
| -rw-r--r-- | addons/website_slides/views/slide_slide_views.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website_slides/views/slide_slide_views.xml b/addons/website_slides/views/slide_slide_views.xml index b2dd1585ff0..1bb07a32a6d 100644 --- a/addons/website_slides/views/slide_slide_views.xml +++ b/addons/website_slides/views/slide_slide_views.xml @@ -71,13 +71,13 @@ </page> <page string="Document"> <group> - <field name="slide_type" readonly="1"/> + <field name="slide_type"/> <field name="url" - attrs="{'required': [('slide_type', 'in', ('video'))], 'readonly': [('slide_type', 'in', ('document', 'video'))], 'invisible': [('slide_type', 'not in', ('document', 'presentation', 'video'))]}" /> + attrs="{'required': [('slide_type', 'in', ('video'))], 'invisible': [('slide_type', 'not in', ('document', 'presentation', 'video'))]}" /> <field name="document_id" readonly="1" attrs="{'invisible': [('document_id', '=', False)]}"/> <field name="mime_type" readonly="1" attrs="{'invisible': [('slide_type', 'not in', ('document', 'presentation', 'infographic', 'webpage'))]}"/> - <field name="datas" readonly="1" + <field name="datas" attrs="{'invisible': [('slide_type', 'not in', ('document', 'presentation', 'infographic', 'webpage'))]}"/> </group> </page> |
