{% spaceless %}
<ol class='work-list'>
{% for item in object_list %}
- <li class='{% class_name item %}-item'>
+ <li class='{{ item|class_name }}-item'>
{% if item.short_html %}
{{ item.short_html }}
{# since we are using shor_html eerywhere, is it needed anymore? #}
- {% elif item.object_type == "Picture" %}
+ {% elif item|class_name == "Picture" %}
{% picture_short item %}
{% else %}
{% book_short item %}