Changeset View
Changeset View
Standalone View
Standalone View
films/templates/films/films.html
| {% extends 'common/base.html' %} | {% extends 'common/base.html' %} | ||||
| {% block title_append %} - Films{% endblock title_append %} | {% block title_append %} - Films{% endblock title_append %} | ||||
| {% block meta %} | {% block meta %} | ||||
| {% with title="Films" description="The iconic Blender Open Movies. Featuring all the production files, assets, artwork, and never-seen-before content." %} | {% with title="Films" description="The iconic Blender Open Movies. Featuring all the production files, assets, artwork, and never-seen-before content." %} | ||||
| {% include 'common/components/meta.html' %} | {% include 'common/components/meta.html' %} | ||||
| {% endwith %} | {% endwith %} | ||||
| {% endblock %} | {% endblock %} | ||||
| {% block content %} | {% block content %} | ||||
| <div class="container-xl pt-4"> | <div class="container-xl pt-4"> | ||||
| {% include "common/components/simple_header.html" with title="Films" subtitle="The iconic Blender Open Movies. Featuring all the production files, assets, artwork, and never-seen-before content." %} | {% include "common/components/simple_header.html" with title="Films" subtitle="The iconic Blender Open Movies. Featuring all the production files, assets, artwork, and never-seen-before content." %} | ||||
| <div class="row"> | <div class="row"> | ||||
| {% for film in films %} | {% for film in films %} | ||||
| {% if film.is_published or request.user.is_superuser %} | {% if film.is_published or request.user.is_superuser %} | ||||
| {% include "films/components/card_film.html" with film=film %} | {% include "films/components/card_film.html" with film=film %} | ||||
| {% endif %} | {% endif %} | ||||
| {% endfor %} | {% endfor %} | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| {% endblock %} | {% endblock %} | ||||