{% if element.embed %} {% else %} {% endif %} |
{% if element.embed %}
{{ element.name }}
{% else %}
{{ element.name }}
{% endif %}
{% if app.user.id != element.owner.id %}
{% endif %}
{% if app.user.id == element.owner.id %}
{% if element.hasTagProposition %}
{% endif %}
{% endif %}
{% autoescape false %} {% if element.group and no_group_name is not defined%} {{ 'element.name.whoandgroup'|trans({ '%owner_url%' : path('show_user', {'slug': element.owner.slug}), '%owner_name%' : element.owner.name, '%group_url%' : path('show_group', {'slug': element.group.slug}), '%group_name%' : element.group.name }, 'elements') }} {% else %} {{ 'element.name.who'|trans({ '%owner_url%' : path('show_user', {'slug': element.owner.slug}), '%owner_name%' : element.owner.name }, 'elements') }} {% endif %} {% endautoescape %} {{ element.created.date|date_or_relative_date }} |
{% if element.comments|length %} {% for comment in element.comments %} {% include "MuzichCommentBundle:Comment:li.comment.html.twig" with {'element_id' : element.id} %} {% endfor %} {% endif %}