From ed92c3ffe0090a03f202618668a6aac89d31ae42 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 31 Oct 2022 13:15:08 +0100 Subject: [PATCH] mediatheque --- models/event.py | 3 + views/event.xml | 3 + views/event_templates_page_registration.xml | 86 --------------------- views/mediatheque.xml | 36 +++++---- 4 files changed, 27 insertions(+), 101 deletions(-) diff --git a/models/event.py b/models/event.py index 20011b3..a300c83 100755 --- a/models/event.py +++ b/models/event.py @@ -425,6 +425,9 @@ class KalachakraEvent(models.Model): ) teaching_html_content_records=fields.Html('teaching content records') teaching_html_content_records_published=fields.Boolean('publish html content') + display_english_records=fields.Boolean('display english records',default=True) + # only_audio_records=fields.Boolean('only audio records',default=False) + # only_video_records=fields.Boolean('only video records',default=False) def add_registration_to_mailing_list(self): registrants=self.env['event.registration'].search([('event_id','=',int(self.id))]) if registrants: diff --git a/views/event.xml b/views/event.xml index 210394d..3098792 100755 --- a/views/event.xml +++ b/views/event.xml @@ -176,6 +176,9 @@ + + diff --git a/views/event_templates_page_registration.xml b/views/event_templates_page_registration.xml index a22d0b7..6d4789d 100755 --- a/views/event_templates_page_registration.xml +++ b/views/event_templates_page_registration.xml @@ -47,92 +47,6 @@