Commit Graph

650 Commits

Author SHA1 Message Date
51e22eb414 UI Landing: padding on browse button. 2019-04-04 16:41:28 +02:00
cabfce12c0 UI Landing: Use 16 by 9 image for opengraph. 2019-04-04 16:41:28 +02:00
b6d9039e82 Add navigation and extension links to /browse 2019-04-04 15:31:52 +02:00
4a6e971e71 Show only groups and assets in browse endpoint 2019-04-04 15:31:28 +02:00
eeab0a407e UI Landing: Style tweaks 2019-04-04 14:20:19 +02:00
eafc1e981f UI Landing: Timeline -> Project Timeline 2019-04-04 14:20:09 +02:00
dfbd03e448 UI Landing: Jumbotron padding tweak and mobile. 2019-04-04 14:19:52 +02:00
12c64f13a2 UI: Rename 'Explore' to 'Browse' 2019-04-04 14:19:36 +02:00
b62f500b2e Cast empty string value in form_field to None
For FilmProjectForm, when no value is specified we want to save it
as None in the project document.
2019-04-04 13:09:53 +02:00
6d47946b1b Fix for exception in /open-movies
When extension_props.cloud.poster was set to empty string, we would
try to get file anyway and we would set the has_poster has_poster
convenience attribute to true. This would lead to an exception when
trying to access the poster file object in the template.
2019-04-04 11:49:12 +02:00
b4ecf93485 UI Browse: Remove description. 2019-04-04 02:04:00 +02:00
3d6b2452d6 Fix in is_cloud_project
Handle missing extension_props attribute.
2019-04-04 00:50:35 +02:00
4afe23e284 Introducing top level browsing
We introduce a new /p/<project_url>/browse endpoint, which allows to
see all top-level nodes of a project.
2019-04-04 00:27:14 +02:00
479153af9b Do not show hidden pages in project landing 2019-04-04 00:27:14 +02:00
aee369cc5a UI Landing: alt name on image. 2019-04-04 00:26:38 +02:00
8f0670d017 UI Landing: Link icon, text and Explore button to project_explore_url.
To be replaced with the actual 'explore' endpoint.
2019-04-03 23:44:37 +02:00
858bed66f4 UI Landing: padding and column size adjustments. 2019-04-03 23:40:13 +02:00
7a02f86a5b UI Landing: open video_url in the page overlay. 2019-04-03 23:39:53 +02:00
37667424ab Cleanup: remove unused font-pillar.css link.
They are built inside project-main.sass now
2019-04-03 23:10:33 +02:00
b4739521ed Layout Template: Introducing announcements.
Used for non-subscribers (current_user without .has-cap('subscriber'),
to give a friendly reminder about cool promos!
2019-04-03 22:54:00 +02:00
d125a6ac55 config_local: Example for announcements to non-subscribers. 2019-04-03 22:50:37 +02:00
4473d56379 Fix for exception
Check that ‘extension_props’ exists in project before looking for
EXTENSION_NAME.
2019-04-03 17:36:27 +02:00
c971f799ef Override /p/<project_url>
By overriding this Pillar endpoint, we allow more control over how
the landing page of a project is rendered, based on the presence
of the ‘cloud’ extension property.
2019-04-03 17:00:37 +02:00
36f31caf04 UI Landing: Show logo and watch url if any. 2019-04-03 16:59:25 +02:00
d54d5ec157 Use poster file as preview for film projects 2019-04-03 16:43:48 +02:00
4a180e3784 Introducing setup_for_film functionality
It is now possible, only for user with admin capability, to setup a
project as ‘film’. This action can be performed via CLI using
./manage.py cloud setup_for_film <project_url> or via the web
interface in the Cloud settings area.
Setting up a project for film creates a number of extension props
under the ‘cloud’ key. Such properties are listed in the
cloud_extension_props variable in setup.py.

At this moment the functionality exists for a very specific purpose:
improving the presentation of public Film projects in the Blender
Cloud. It can be further extended to improve the presentation of
Training and Libraries later on.
2019-04-03 15:54:45 +02:00
6ac75c6a14 UI Production: use same header and opengraph as other collections. 2019-04-03 15:48:38 +02:00
4b7cc3f58e UI Libraries: Fix wrong URL for characters project. 2019-04-03 15:47:59 +02:00
cbbaf90002 Templates: Add opengraph to collections. 2019-04-03 15:43:53 +02:00
c5154240ca Cleanup. One line for block page_title. 2019-04-03 15:43:01 +02:00
1e62aff62c Cleanup: Unused mixin include. 2019-04-03 15:42:37 +02:00
b015cc8fa4 Cleanup: Remove URL from category_list_header component. 2019-04-03 15:33:04 +02:00
3be54da5c3 Cleanup: Remove unused components mixin. 2019-04-03 15:32:32 +02:00
5c1b94544a UI: Tweaks to descriptions in Learn. 2019-04-03 15:31:38 +02:00
1ed2a3937e UI: Tweaks to descriptions in Libraries. 2019-04-03 15:31:14 +02:00
80b69438ed UI: Tweaks to descriptions in Index Collection. 2019-04-03 15:30:46 +02:00
3f3112f272 Pug Components: category_list_item component.
Taken from Pillar. Used in Libraries, Training, etc.
2019-04-03 15:29:14 +02:00
1d7cbd8ba5 UI Films: minor style tweaks. 2019-04-03 15:03:52 +02:00
a53dc51680 UI Landing: Align header to top. 2019-04-03 15:03:30 +02:00
29ff9609e7 UI Films: use variable for project URL.
Instead of building url_for() many times.
2019-04-03 15:03:18 +02:00
bd07a63acd Index Collection Template: Use header and opengraph macros. 2019-04-03 15:02:11 +02:00
9bf6c0fcb3 Templates: New template for films. 2019-04-03 13:04:25 +02:00
142dd36e3c CSS: Add alias for pi-blender-cloud from font-pillar. 2019-04-03 13:01:39 +02:00
e03cf2f5da CSS: Include font-pillar as part of main.css 2019-04-03 13:01:08 +02:00
79b409c83a CSS: Include variables in project-main.sass 2019-04-03 11:49:17 +02:00
a67af63459 Template Libraries: Use header and opengraph macros. 2019-04-03 11:41:42 +02:00
362694f4b6 Template Learn: Use header and opengraph macros. 2019-04-03 11:41:33 +02:00
364fa76956 UI Landing: Use variable instead of magic number for background. 2019-04-03 11:40:55 +02:00
144dcf7a76 Sass: Introducing variables.sass file.
For Blender Cloud specific variables.
2019-04-03 11:40:01 +02:00
f8995fb657 Template Services: Use header and opengraph macros. 2019-04-03 11:39:11 +02:00