{% from _self import renderPager %} {% set layout = "ClarolineCoreBundle:Workspace:layout.html.twig" %} {% if isDesktop() %} {% set layout = "ClarolineCoreBundle:Desktop:layout.html.twig" %} {% endif %} {% extends layout %} {% block title %}{{ _resource.getResourceNode().getName() ~ ' - ' ~ parent() | striptags | raw }}{% endblock %} {% block section_content %}

{{ _resource.getResourceNode().getName() }}

{% if isModerator %} {{ 'new_category'|trans({}, 'forum') }} {% if is_mailer_available() %} {% if _resource.getActivateNotifications() %} {{ 'disable_global_notifications'|trans({}, 'forum') }} {% else %} {{ 'activate_global_notifications'|trans({}, 'forum') }} {% endif %} {% if hasSubscribed %} {{ 'unsubscribe_mail_list'|trans({}, 'forum') }} {% else %} {{ 'subscribe_mail_list'|trans({}, 'forum') }} {% endif %} {% endif %} {% endif %}
{% if isModerator %} {% endif %} {% for category in categories %} {% if isModerator %} {% endif %} {% endfor %}
{{ 'category'|trans({}, 'forum') }} {{ 'messages'|trans({}, 'forum') }} {{ 'last_message'|trans({}, 'forum') }}
{{ category['name'] }} {% if isModerator %} {{ 'edit' | trans({}, 'platform') }} {% endif %}
{{ category['count_messages'] }} {{ category['last_message_author'] }}
{% if category['last_message_created'] %} {{ category['last_message_created']|timeAgo() }} {% endif %}
{{ 'delete' | trans({}, 'platform') }}
{% endblock %} {% block javascripts %} {{ parent() }} {% javascripts debug=false vars=["locale"] "@ClarolineForumBundle/Resources/views/removeCategoryConfirm.html.twigjs" filter="twig_js" %} {% endjavascripts %} {% if isModerator %} {% endif %} {% endblock %}