Fix display of item without title.
This commit is contained in:
parent
b952213b23
commit
19c6d3b81c
|
@ -66,7 +66,7 @@
|
||||||
{# <img src="{{ image.thumburl }}" height="{{ image.thumbheight }}" width="{{ image.thumbwidth }}" class="card-img-top"></a> #}
|
{# <img src="{{ image.thumburl }}" height="{{ image.thumbheight }}" width="{{ image.thumbwidth }}" class="card-img-top"></a> #}
|
||||||
<img src="{{ image.thumburl }}" class="card-img-top"></a>
|
<img src="{{ image.thumburl }}" class="card-img-top"></a>
|
||||||
<div class="card-body">
|
<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">
|
<p class="card-text">
|
||||||
<div>
|
<div>
|
||||||
{% for qid in item.instance_of %}
|
{% for qid in item.instance_of %}
|
||||||
|
|
Loading…
Reference in a new issue