{% set next = '' %}
{% if item.next_step|length > 0 %}
{% set stepsArr = item.next_step|split('|') %}
{% set next = stepsArr|first %}
{% endif %}
{{ next|raw }}
{{ item.category }}
{% set itemtagsArr = tagsArr[item.id] %}
{% if itemtagsArr|length > 0 %}
{% for tag in itemtagsArr %}
{{ tag.tag|raw }}
{% endfor %}
{% endif %}
{% if not item.locked and (item.userid == App.Users.userData.userid or Entity.type == 'items' or App.Session.get('is_admin')) %}
{% endif %}
{# show attached if there is a file attached #}
{% if item.has_attachment %}
{% endif %}
{% if item.has_comment %}
{% endif %}