dont show year on film page if it is None

This commit is contained in:
Sanjay B 2021-10-29 01:00:54 +05:30
parent 6ba276afd0
commit 593acbb7d1

View file

@ -28,7 +28,7 @@ body {
{% endfor %} {% endfor %}
</h2> </h2>
<div class="details"> <div class="details">
{{ film.data.date}}, {{ film.duration }} {% if film.data.date %} {{ film.data.date}}, {% endif %} {{ film.duration }}
</div> </div>
</div> </div>