njpma/app/templates/films.html

22 lines
518 B
HTML
Raw Normal View History

2021-09-28 13:10:22 +00:00
{% extends "base.html" %}
{% block main %}
2021-09-30 18:33:47 +00:00
<div class="films">
2021-09-28 13:10:22 +00:00
{% for film in films %}
2021-09-30 18:33:47 +00:00
<div class="film">
<div class="left">
<h1><a href="{% url 'film' film.slug %}">{{ film.data.title | safe }}</a></h1>
<h2>{{ film.data.director|join:", "|safe }}</h2>
</div>
2021-10-10 15:06:43 +00:00
{% comment %}
2021-09-30 18:33:47 +00:00
<div class="right">
2021-10-10 15:06:43 +00:00
2021-09-30 18:33:47 +00:00
<a href="{% url 'film' film.slug %}">
<img src="{{ settings.TIMELINE_PREFIX }}{{ film.padma_id }}/timeline.jpg">
</a>
</div>
2021-10-10 15:06:43 +00:00
{% endcomment %}
2021-09-30 18:33:47 +00:00
</div>
2021-09-28 13:10:22 +00:00
{% endfor %}
2021-09-30 18:33:47 +00:00
</div>
2021-09-28 13:10:22 +00:00
{% endblock %}