dont show year on film page if it is None
This commit is contained in:
parent
6ba276afd0
commit
593acbb7d1
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ body {
|
|||
{% endfor %}
|
||||
</h2>
|
||||
<div class="details">
|
||||
{{ film.data.date}}, {{ film.duration }}
|
||||
{% if film.data.date %} {{ film.data.date}}, {% endif %} {{ film.duration }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue