Fix display of item without title.

This commit is contained in:
Edward Betts 2019-12-18 18:48:14 +00:00
parent b952213b23
commit 19c6d3b81c

View file

@ -66,7 +66,7 @@
{# <img src="{{ image.thumburl }}" height="{{ image.thumbheight }}" width="{{ image.thumbwidth }}" class="card-img-top"></a> #}
<img src="{{ image.thumburl }}" class="card-img-top"></a>
<div class="card-body">
<h5 class="card-title">{{ item.label }}</h5>
<h5 class="card-title">{{ item.label or '[no title]' }}</h5>
<p class="card-text">
<div>
{% for qid in item.instance_of %}