{% set edit_img = 'edit.png'|img(22, 'Edit'|get_lang) %} {% set visible_img = 'visible.png'|img(22, 'Invisible'|get_lang) %} {% set invisible_img = 'invisible.png'|img(22, 'Visible'|get_lang) %} {% set delete_img = 'delete.png'|img(22, 'Delete'|get_lang) %} {% set baseurl = _p.web_self ~ '?' ~ (_p.web_cid_query ? _p.web_cid_query ~ '&' : '') %} {% import 'portfolio/items.html.twig'|get_template as items %}
{% if course %}
{{ frm_student_list }}
{{ frm_tag_list }}
{% endif %}
{% if (categories) %}
{% for category in categories %} {% endfor %}
{% if (subcategories) %}
{% for subcategory in subcategories %} {% endfor %}
{% endif %} {% endif %} {% if _u.id != user.id %}

{{ user.completeName }} {{ user.username }}

{% endif %} {% if found_comments and uncategorized_items %} {% endif %} {{ items.display(uncategorized_items, 0, _c, _u, _p, user, listByUser) }} {% if found_comments %}
{% for comment in found_comments %} {% set commentItem = comment.item %}

{{ 'CommentByUserXInItemY'|get_lang|format(comment.author.completeName, commentItem.title) }}

{{ comment.date|date_to_time_ago }}

{{ comment.excerpt(290) }} {{ 'SeeMore'|get_lang }}

{% endfor %}
{% endif %} {% for category in portfolio %}
{{ category.description }}
{{ items.display( category.items(course, session, _u.id != category.user.id), category.id, _c, _u, _p ) }}
{% endfor %}
{% if (js_script) %} {{ js_script }} {% endif %}