Show existing depicts on browse page

This commit is contained in:
Edward Betts 2019-11-25 15:46:05 +00:00
parent a2aa063dd5
commit 2cbc88a947
3 changed files with 31 additions and 4 deletions

View file

@ -56,6 +56,11 @@
<h5 class="card-title">{{ item.label }}</h5>
<p class="card-text">by {{ item.artist_name }}
{% if item.date %}({{ item.date }}){% endif %}
<div>
{% for depicts_label in item.depicts %}
<span class="badge badge-primary">{{ depicts_label }}</span>
{% endfor %}
</div>
</p>
</div>
</div>