{% extends "ClarolineCoreBundle:Workspace:layout.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block title %}{% spaceless %} {{ node.getName() | striptags | raw }} - {{ "comments"|trans({}, "icap_socialmedia") }} {% endspaceless %}{% endblock %} {% block breadcrumb %}
{% if node is defined %}
{% if not is_path_mode %} {% endif %} {% endif %}
{% endblock %} {% block leftbar %} {% set workspace = node.getWorkspace() %} {% if not is_path_mode and workspace is defined %} {% if is_granted('OPEN', workspace) %} {% render(controller("ClarolineCoreBundle:Workspace:renderToolList", {'workspace': workspace, '_breadcrumbs': app.request.query.get('_breadcrumbs', {})})) %} {% endif %} {% endif %} {% endblock %} {% block section_content %}

{{ "comment_action"|trans({}, 'resource') }}

{% if pager.nbResults > 0 %}

{{ 'comments'|trans({}, 'icap_socialmedia') }} [{{ pager.nbResults }}]
*{{ 'comments_are_public'|trans({}, "icap_socialmedia") }}

{% include "IcapSocialmediaBundle:CommentAction:commentList.html.twig" with {'pager':pager, 'resourceId':resourceId} %}
{% else %} {% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}