From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/website_slides/data/gamification_data.xml | 207 ++++++ addons/website_slides/data/mail_activity_data.xml | 11 + addons/website_slides/data/mail_data.xml | 164 +++++ addons/website_slides/data/res_users_demo.xml | 12 + addons/website_slides/data/slide_channel_demo.xml | 155 +++++ .../website_slides/data/slide_channel_tag_demo.xml | 36 ++ addons/website_slides/data/slide_data.xml | 29 + addons/website_slides/data/slide_slide_demo.xml | 709 +++++++++++++++++++++ addons/website_slides/data/slide_user_demo.xml | 216 +++++++ addons/website_slides/data/website_data.xml | 15 + 10 files changed, 1554 insertions(+) create mode 100644 addons/website_slides/data/gamification_data.xml create mode 100644 addons/website_slides/data/mail_activity_data.xml create mode 100644 addons/website_slides/data/mail_data.xml create mode 100644 addons/website_slides/data/res_users_demo.xml create mode 100644 addons/website_slides/data/slide_channel_demo.xml create mode 100644 addons/website_slides/data/slide_channel_tag_demo.xml create mode 100644 addons/website_slides/data/slide_data.xml create mode 100644 addons/website_slides/data/slide_slide_demo.xml create mode 100644 addons/website_slides/data/slide_user_demo.xml create mode 100644 addons/website_slides/data/website_data.xml (limited to 'addons/website_slides/data') diff --git a/addons/website_slides/data/gamification_data.xml b/addons/website_slides/data/gamification_data.xml new file mode 100644 index 00000000..41fcd7a3 --- /dev/null +++ b/addons/website_slides/data/gamification_data.xml @@ -0,0 +1,207 @@ + + + + + + Get started + Register to the platform + + + bronze + nobody + + + Get started + Register to the platform + count + boolean + + higher + [ + ('active', '!=', False), + ('karma', '>', 0), + ] + True + + user.id + + + Register to the platform + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + + + + Know yourself + Complete your profile + + + bronze + nobody + + + Know yourself + Complete your profile + count + boolean + + higher + [ + ('partner_id.country_id', '!=', False), + ('partner_id.city', '!=', False), + ('partner_id.email', '!=', False) + ] + True + + user.id + + + Complete your profile + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + + + + Power User + Complete a course + + + silver + nobody + + + Power User + Complete a course + count + boolean + + higher + [ + ('completed', '=', True) + ] + True + + user.partner_id.id + + + Complete a course + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + + + + Certified Knowledge + Get a certification + + + gold + nobody + + + Certified Knowledge + Get a certification + count + boolean + + higher + [ + ('completed', '=', True), + (0, '=', 1) + ] + True + + user.partner_id.id + + + Get a certification + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + + + + Community hero + Reach 2000 XP + + + gold + nobody + + + Community hero + Reach 2000 XP + count + boolean + + higher + [ + ('karma', '>=', 2000) + ] + True + + user.id + + + Reach 2000 XP + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + diff --git a/addons/website_slides/data/mail_activity_data.xml b/addons/website_slides/data/mail_activity_data.xml new file mode 100644 index 00000000..df1563f4 --- /dev/null +++ b/addons/website_slides/data/mail_activity_data.xml @@ -0,0 +1,11 @@ + + + + + Access Request + fa-check-circle + 50 + + + + diff --git a/addons/website_slides/data/mail_data.xml b/addons/website_slides/data/mail_data.xml new file mode 100644 index 00000000..f7fa3420 --- /dev/null +++ b/addons/website_slides/data/mail_data.xml @@ -0,0 +1,164 @@ + + + + + Slide Published + + New ${object.slide_type} published on ${object.channel_id.name} + +
+

+ Hello

+ There is something new in the course ${object.channel_id.name} you are following:

+

${object.name}
+ % if object.image_1024 +
+ + ${object.name} + +
+ % endif + + Enjoy this exclusive content! + % if user.signature +
+ ${user.signature | safe} + % endif +

+
+
+ +
+ + + Slide Shared + + ${user.name} shared a ${object.slide_type} with you! + ${user.email_formatted | safe} + ${ctx.get('email', '')} + +
+

+ Hello

+ ${user.name} shared the ${object.slide_type} ${object.name} with you! +

+ + ${object.name} + +
+ + % if user.signature +
+ ${user.signature | safe} + % endif +

+
+
+ +
+ + + + Presentation Published + slide.channel + + Presentation Published + + + + + Channel: Invite by email + + You have been invited to join ${object.channel_id.name} + + +
+

+ Hello

+ You have been invited to join a new course: ${object.channel_id.name}. +

+
+
+ ${object.partner_id.lang} + +
+ + + + + +
+
diff --git a/addons/website_slides/data/res_users_demo.xml b/addons/website_slides/data/res_users_demo.xml new file mode 100644 index 00000000..19597a51 --- /dev/null +++ b/addons/website_slides/data/res_users_demo.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/addons/website_slides/data/slide_channel_demo.xml b/addons/website_slides/data/slide_channel_demo.xml new file mode 100644 index 00000000..dc8fdb0e --- /dev/null +++ b/addons/website_slides/data/slide_channel_demo.xml @@ -0,0 +1,155 @@ + + + + + + Basics of Gardening + + public + training + + most_voted + + + + Learn the basics of gardening ! + + + + + + Taking care of Trees + + public + training + + latest + + + + Learn how to take care of your favorite trees. Learn when to plant, how to manage potted trees, ... + + + + + + Trees, Wood and Gardens + + public + documentation + + most_viewed + + + + A lot of nice documentation: trees, wood, gardens. A gold mine for references. + + + + + Choose your wood ! + + public + training + + latest + + + + Knowing which kind of wood to use depending on your application is important. In this course you +will learn the basics of wood characteristics. + + + + + Furniture Technical Specifications + + invite + documentation + + most_voted + + + + If you are looking for technical specifications, have a look at this documentation. + + + + + + Basics of Furniture Creation + + invite + training + + latest + + + + All you need to know about furniture creation. + + + + + + + DIY Furniture + + invite + training + + most_voted + + + + So much amazing certification. + + + + + CheatSheet + + + Theory + + + Exercises + + + Tools + + + Colorful + + + HowTo + + + diff --git a/addons/website_slides/data/slide_channel_tag_demo.xml b/addons/website_slides/data/slide_channel_tag_demo.xml new file mode 100644 index 00000000..99ef23bc --- /dev/null +++ b/addons/website_slides/data/slide_channel_tag_demo.xml @@ -0,0 +1,36 @@ + + + + Your Role + + + + Gardener + 10 + + + + Carpenter + 11 + + + + Furniture Designer + 3 + + + + + Quiz + + + + Certification + 7 + + + + Dog Friendly + + + diff --git a/addons/website_slides/data/slide_data.xml b/addons/website_slides/data/slide_data.xml new file mode 100644 index 00000000..8b85407b --- /dev/null +++ b/addons/website_slides/data/slide_data.xml @@ -0,0 +1,29 @@ + + + + + Tags + 20 + + + + Your Level + + + + Basic + 10 + + + + Intermediate + 3 + + + + Advanced + 1 + + + + diff --git a/addons/website_slides/data/slide_slide_demo.xml b/addons/website_slides/data/slide_slide_demo.xml new file mode 100644 index 00000000..93b6c09c --- /dev/null +++ b/addons/website_slides/data/slide_slide_demo.xml @@ -0,0 +1,709 @@ + + + + + + + Gardening: The Know-How + 1 + + + presentation + + + + + 10 + 2.5 + + A summary of know-how: how and what. All the basics for this course about gardening. + + + + Document + + + + + Home Gardening + 2 + + infographic + + + + + 5 + 1 + + Interesting information about home gardening. Keep it close ! + + + Mighty Carrots + 3 + + infographic + + + + + 2 + 2 + + You won't believe those facts about carrots. + + + How to Grow and Harvest The Best Strawberries | Basics + 4 + + + document + + + + + 0 + 1 + + Here is How to get the Sweetest Strawberries you ever tasted! + + + Test your knowledge + 5 + + quiz + + + + + 0 + 1 + Show your newly mastered knowledge ! + + + What is a strawberry ? + 1 + + + + A fruit + 1 + + Correct ! A strawberry is a fruit because it's the product of a tree. + + + + A vegetable + 2 + + Incorrect ! A strawberry is not a vegetable. + + + + A table + 3 + + Incorrect ! A table is a piece of furniture. + + + + What is the best tool to dig a hole for your plants ? + 2 + + + + A shovel + 1 + + Correct ! A shovel is the perfect tool to dig a hole. + + + + A spoon + 2 + + Incorrect ! Good luck digging a hole with a spoon... + + + + + + + + + Interesting Facts + + + 0 + + + Methods + + + 4 + + + + + Tree Infographic + 1 + + infographic + + + + + 5 + 0.5 + + Just some basics Tree Infographic. + + + Interesting Tree Facts + 2 + + infographic + + + + + 5 + 1.5 + + Just some basics Interesting Tree Facts. + + + Energy Efficiency Facts + 3 + + infographic + + + + + 10 + 1 + + Just some basics Energy Efficiency Facts. + + + Energy Efficient Link 1 + http://www.example.com + + + + Energy Efficient Link 2 + http://www.example.com + + + + + Presentation + + + + + How to plant a potted tree + 5 + https://www.youtube.com/watch?v=QYmgrw0PgLU + + QYmgrw0PgLU + video + + + + + 0 + 1 + + Jim and Todd plant a potted tree for a customer of Knecht's Nurseries and Landscaping. Narrated by Leif Knecht, owner. + + + A little chat with Harry Potted + 6 + + webpage + + +
+ +
+
+
+
+

Catchy Headline

+

Write one or two paragraphs describing your product, services or a specific feature.
To be successful your content needs to be useful to your readers.

+

+ Contact us +

+
+
+
+
+
+
+
+
+ Odoo • Image and Text +
+
+

Section Subtitle

+

Write one or two paragraphs describing your product or services.
To be successful your content needs to be useful to your readers.

+

Start with the customer – find out what they want and give it to them.

+

Discover more

+
+
+
+
+ + + + 5 + 1 + + We had a little chat with Harry Potted, sure he had interesting things to say ! +
+ + Know More Link 1 + http://www.example.com + + + + Know More Link 2 + http://www.example.com + + + + Do you think Harry Potted has a good name ? + 1 + + + + Yes + 1 + + Correct ! + + + + No + 2 + + Incorrect ! + + + + Did you read the whole article ? + 2 + + + + Yes + 1 + + Correct ! Congratulations you have time to loose + + + + No + 2 + + Incorrect ! You really should read it. + + + + What was the question again ? + 3 + + Incorrect ! Seriously ? + + + + 3 Main Methodologies + 6 + + + presentation + + + + + 10 + 2.5 + + A summary of know-how: how and what. + + + How to Grow and Harvest The Best Strawberries | Gardening Tips and Tricks + 7 + https://www.youtube.com/watch?v=l0JZ25VvbwE + + l0JZ25VvbwE + video + + + + + 0 + 1 + + Here is How to get the Sweetest Strawberries you ever tasted! + + + + + + + + Trees + + + 0 + + + Wood + + + 4 + + + + + + Main Trees Categories + 1 + + + presentation + + + + + 0 + 1 + + 100 + 75 + 50 + 25 + A summary of know-how: what are the main trees categories and how to differentiate them. + + + + Trees Classification Link + http://www.example.com + + + + Main types of trees Link + http://www.example.com + + + + + Tree image + + + + + + Do you make beams out of lemon trees ? + 1 + + + + Yes + 1 + + Incorrect ! + + + + No + 2 + + Correct ! + + + + Do you make lemons out of beams ? + 2 + + + + Yes + 1 + + Incorrect ! + + + + No + 2 + + Correct ! + + + + And also bananas + 3 + + Incorrect ! of course not ... + + + + A Mighty Forest from Ages + 2 + + webpage + + +
+ +
+
+
+
+

Catchy Headline

+

Write one or two paragraphs describing your product, services or a specific feature.
To be successful your content needs to be useful to your readers.

+

+ Contact us +

+
+
+
+
+
+
+
+
+ Odoo • Image and Text +
+
+

Section Subtitle

+

Write one or two paragraphs describing your product or services.
To be successful your content needs to be useful to your readers.

+

Start with the customer – find out what they want and give it to them.

+

+ Discover more +

+
+
+
+
+ + + + 0 + 2 + + Mighty forest just don't appear in a few weeks. Learn how time made our forests mighty and mysterious. +
+ + Tree planting in hanging bottles on wall + 3 + https://www.youtube.com/watch?v=ebBez6bcSEc + + ebBez6bcSEc + video + + + + + 0 + 1 + + How to wall decorating by tree planting in hanging plastic bottles. + + + + Wood Characteristics + 5 + + + presentation + + + + + 0 + 2 + + 100 + 75 + 50 + 25 + Knowing wood characteristics is a requirement in order to know which kind of wood to use in a given situation. + + + + + + + + + Working with Wood + + + 1 + + + + + Comparing Hardness of Wood Species + 2 + + infographic + + + + + 10 + 12 + + Comparing Hardness of Wood Species + + + Wood Bending With Steam Box + 3 + + https://www.youtube.com/watch?v=PYr1rK8pS30 + PYr1rK8pS30 + video + + + + + 10 + 3 + Watching the master(s) at work + + + + + + + + Introduction + + + 0 + + + + + + + + Tools and Methods + + + 0 + + + + Hand on ! + + + 3 + + + + Test Yourself + + + 5 + + + + + Unforgettable Tools + 1 + + + presentation + + + + + 10 + 2.5 + + Tools you will need to complete this course. + + + Example Link 1 + http://www.example.com + + + + Example Link 2 + http://www.example.com + + + + How to find quality wood + 2 + + https://www.youtube.com/watch?v=5WMqwTnZ-qs + 5WMqwTnZ-qs + video + + + + + 0 + 3 + Learn to identify quality wood in order to create solid furnitures. + + + How to create your own piece of furniture + 4 + + https://www.youtube.com/watch?v=ptjeDDoURL8 + ptjeDDoURL8 + video + + + + + 5 + 3 + From a piece of wood to a fully functional furniture, step by step. + + + Test your knowledge ! + 6 + + quiz + + + + + 0 + 0.5 + Test your knowledge ! + + + Do you want to reply correctly ? + 1 + + + + Yes + 1 + + Correct ! You did it ! + + + + No + 2 + + Incorrect ! You better think twice... + + + + + + +
diff --git a/addons/website_slides/data/slide_user_demo.xml b/addons/website_slides/data/slide_user_demo.xml new file mode 100644 index 00000000..80d87842 --- /dev/null +++ b/addons/website_slides/data/slide_user_demo.xml @@ -0,0 +1,216 @@ + + + + + + + + + 1 + + + + + + 1 + + + + + + + + + 1 + + + + + 1 + + + + + + + + + 1 + + + + slide.channel + + + comment + +
I fear beginners could be lost... Isn't it a bit harsh for a "basics" course ?
+
+ + + + + + I fear beginners could be lost... Isn't it a bit harsh for a "basics" course ? + 3 + + + + slide.channel + + + comment + +
Back to basics and interesting. Just WOW !
+
+ + + + + + 5 + Back to basics and interesting. Just WOW ! + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + + + + + + 1 + + + + + + 1 + + + + + + + + + 1 + + + + + slide.channel + + + comment + +
Very good course.
+
+ + + + + + Very good course. + 5 + + + + slide.channel + + + comment + +
Interesting !
+
+ + + + + + 4 + Interesting ! + + + + slide.channel + + + comment + +
Interesting. Could be great to include more examples.
+
+ + + + + + 3 + Interesting. Could be great to include more examples. + + Thanks for the feedback! We just updated first lessons to better include newcomers. + + + + + + + + + + + + + 1 + 1 + + + + + + 1 + + + + + + + + + 1 + 2 + + + + +
diff --git a/addons/website_slides/data/website_data.xml b/addons/website_slides/data/website_data.xml new file mode 100644 index 00000000..e2e8b1c4 --- /dev/null +++ b/addons/website_slides/data/website_data.xml @@ -0,0 +1,15 @@ + + + + + AIzaSyDOWlmDW-7DbLmOR9ZsT5AOEXf4n6TFwQA + + + + Courses + /slides + + 50 + + + -- cgit v1.2.3