{% extends "fenixedu-learning-theme/base.html" %} {% block content %} {% if degreeInfo.degree.mostRecentDegreeCurricularPlan is empty %}

{{ i18n('resources.PublicDegreeInformationApplication', 'error.curricularPlanHasNoExecutionDegreesInNotClosedYears') }}

{% else %} {% set curricularPlanLabel = i18n('resources.PublicDegreeInformation', 'public.degree.information.label.curricularPlan') %} {% set periodLabel = i18n('resources.PublicDegreeInformation', 'public.execution.period') %} {% set curricularYearLabel = i18n('resources.PublicDegreeInformation', 'public.curricular.years.all') %} {% for classesByCurricularYearAndSemester in entries(classesByCurricularYearAndSemesters) %} {% set semester = classesByCurricularYearAndSemester.key %} {% set classesByYears = classesByCurricularYearAndSemester.value %}

{{ semester.qualifiedName }}

{% for classesByYear in entries(classesByYears) %} {% set year = classesByYear.key %} {% set classes = classesByYear.value %}

{{ i18n('resources.BolonhaManagerResources', 'year') }} {{ year }}

{% for class in classes %}

{% if timetablePage is not empty %} {{ class.nome }} {% else %} {{ class.nome }} {% endif %}

{% endfor %}
{% else %}

{{ i18n('resources.FenixEduLearningResources', 'public.degree.information.message.public.notfound.classes') }}

{% endfor %}
{% endfor %} {% endif %} {% endblock content %}