ecf2306672
Fix ZeroDivisionError in watching progress caused by videos without duration
2022-02-14 11:54:45 +01:00
c06863eb08
Cast training type to TrainingType
...
This way the templates using training.type.label display the correct
value.
2022-02-03 20:20:35 +01:00
320d2b2300
Simplify training app
...
- Remove typed template responses
- Remove custom types that were too close to model classes
This makes the app simpler to grasp, at the price of a less explicit
knowledge of what is pushed over to the templates.
2022-01-24 22:55:14 +01:00
dd688cdc5f
T84589 Allow some HTML tags in film assets, training summary and character version/showcase descriptions
2021-11-09 15:27:22 +01:00
d81c037940
Fix video source URL breaking when there's no video variation
2021-11-02 14:18:23 +01:00
e237417a13
Fixes T88804: make training flatpages available in the template
2021-06-03 18:20:44 +02:00
15daf0bd9c
Expose Training.is_free to typed templates
2021-03-04 12:08:52 +01:00
4dc1790dfc
Replace direct imports of User with get_user_model
...
Done in preparation for resetting migrations and/or introducing a custom
User model.
2020-12-09 15:05:03 +01:00
80de8c3315
Expose training admin URL in template-typed Training
2020-11-25 11:53:35 +01:00
Anna Sirota
46ba8b7d4a
Chapters URLs in the navigations, training title in chapters
2020-11-17 11:39:09 +01:00
Anna Sirota
53f1747646
Add chapter template
2020-11-16 12:07:54 +01:00
Anna Sirota
aae6c3ca6b
Use generic Section.thumbnail in templates to fix missing images in trainings
2020-11-04 14:26:15 +01:00
Anna Sirota
cde2e0582f
Use small thumbnails in "Your saved training"
2020-10-26 10:56:51 +01:00
23f552182d
Training: Display license and publication info
2020-10-25 23:13:41 +01:00
306a9e74c2
Add download size to buttons
2020-10-25 22:44:27 +01:00
Anna Sirota
d165454ee7
Expose Section.static_asset.source_type as source_type in navigation
2020-10-25 20:45:24 +01:00
Anna Sirota
f1033e0461
Expose Chapter.is_published
2020-10-25 19:30:37 +01:00
73ce4fbbcf
Fix download UX for training sections
2020-10-25 19:13:05 +01:00
Anna Sirota
d810cc04cd
Expose is_published/is_featured in the typed templates
2020-10-25 18:42:00 +01:00
Anna Sirota
98d27acb13
Expose medium-sized thumbnail in section.html T82056
2020-10-25 17:41:11 +01:00
Anna Sirota
7016b47bab
Expose medium-sized thumbnail in for card_section T82056
2020-10-25 16:52:08 +01:00
Anna Sirota
286211b629
Expose Section.is_free in section navigation T82058
2020-10-25 16:44:05 +01:00
f82c42b6ae
fix empty video progress not being 0
2020-10-25 01:33:39 +02:00
Anna Sirota
9344910427
Add Continue learning and latest blog posts to homepage
2020-10-23 14:37:16 +02:00
345edaec2d
Assets: Use encoded video variation
...
Up to this point, videos where served from the source file, which is
usually not optimized for online distribution.
2020-10-22 00:53:23 +02:00
Anna Sirota
5db514e839
Squashed commit of the following:
...
Add training videos and assets relocation command
This command is only for reference (was used once to refactor data
across tables). Will be removed in a future commit.
Refactor training videos in static_assets
Admin: Improve performance with autocomplete_fields
Training: Tweaks to admin
Training: Simplify URLs
Add legacy cloud import scripts
2020-10-19 11:12:24 +02:00
268469e5fa
Black formatting
2020-10-16 16:08:06 +02:00
Anna Sirota
ff2aedc144
Add Section.is_free to the typed template type Section
2020-10-05 19:22:20 +02:00
railla
4b2024b18d
expose training ID to template type
2020-09-23 14:47:51 +02:00
94f2da4c35
Rename 'picture_16_9' to 'thumbnail' in all relevant models
...
Changed models:
Film, Collection, Production Log, Static Asset, Training, Revision.
Use the thumbnail field in search.
2020-08-24 18:27:47 +02:00
6a69b704ff
Add picture_16_9 and picture_header to Training
...
Fix dep
2020-03-01 19:40:48 +01:00
Sem Mulder
9d6ea36de7
Add Markdown support
2020-02-27 12:04:58 +01:00
Sem Mulder
a1ca5289b5
Add edit links to navigation
2020-02-27 11:29:07 +01:00
Sem Mulder
50cdf9b68a
Implement menu video progress
2020-02-26 16:44:03 +01:00
Sem Mulder
462ffafb94
Implement menu active section highlight
2020-02-26 16:20:30 +01:00
Sem Mulder
9446a16c5b
Menu kind of working
2020-02-26 14:40:39 +01:00
Sem Mulder
0b12ceb4d7
Massive refactor: split into apps
2020-02-26 12:19:22 +01:00