{# dim the experiment a bit if it's not yours #} {% set randomId = random() %} {{ item.date|date('Y-m-d') }} {% if item.timestamped %} {% endif %} {% if item.locked %} {% endif %} {{ item.title|raw }} {% 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 %} {% if item.rating > 0 %} {{ item.rating|stars|raw }} {% endif %} {{"%s"|format(item.userid, item.fullname)|raw }}