{% extends 'ClarolineCoreBundle::Desktop/layout.html.twig' %} {% trans_default_domain 'competency' %} {% block title %} {{ parent() ~ ' - ' ~ 'my-learning-objectives'|trans({}, 'tools')|striptags|raw }} {% endblock %} {% block breadcrumb %} {{ macros.breadcrumbs([ { 'icon': 'fa fa-cog', 'name': 'administration'|trans({}, 'platform'), 'href': path('claro_admin_index') }, { 'name': 'my-learning-objectives'|trans({}, 'tools'), 'href': '' } ]) }} {% endblock %} {% block section_content %}
{{ 'my-learning-objectives'|trans({}, 'tools') }}
{% if objectives|length > 0 %} {% for objective in objectives %} {% include 'HeVinciCompetencyBundle:MyObjective:row.html.twig' with { id: objective.id, name: objective.name, progress: objective.progress, competencyCount: objective.competencyCount, path: user.getId(), } %} {% endfor %}
{{ 'objective_'|trans }} {{ 'progress'|trans }} {{ 'level.obtained'|trans }} {{ 'level.expected'|trans }} {{ 'actions'|trans({}, 'platform') }}
{% else %} {% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% javascripts debug=false filter='twig_js, jsmin' vars=["locale"] "@HeVinciCompetencyBundle/Resources/views/MyObjective/row.html.twig" %} {% endjavascripts %} {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %}