{% extends "fenixedu-learning-theme/base.html" %} {% import "fenixedu-learning-theme/personCard.html" %} {% macro deadline(key, description) %} {% if description is not empty %}

{{ i18n('resources.PublicDegreeInformation',key) }} {{ description.content | raw }}

{% endif %} {% endmacro %} {% macro titleRow(key) %} {{ i18n('resources.PublicDegreeInformation',key) }} {% endmacro %} {% macro descriptionSection(key, localizedContent) %} {% if (localizedContent is not empty) and (localizedContent.isEmpty equals false) %}

{{ i18n('resources.PublicDegreeInformation',key) }}

{{ localizedContent.content | raw }}

{% endif %} {% endmacro %} {% block contentTitle %}{% endblock contentTitle %} {% block titleLink %} + Info {% endblock titleLink %} {% block content %}

{{ year }}

{% if degreeInfo is null %}

{{ i18n('resources.ApplicationResources','error.public.DegreeInfoNotPresent') }}

{% else %} {% set deadlines = degreeInfo_schoolCalendar is not empty or degreeInfo_candidacyPeriod is not empty or degreeInfo_selectionResultDeadline is not empty or degreeInfo_enrolmentPeriod is not empty %} {% if deadlines or announcements is not empty or degreeInfo_additionalInfo is not empty or degreeInfo_links is not empty %} {% endif %} {{ descriptionSection('public.degree.information.label.overview', degreeInfo_description) }} {{ descriptionSection('public.degree.information.label.history', degreeInfo_history) }} {{ descriptionSection('public.degree.information.label.objectives', degreeInfo_objectives) }} {{ descriptionSection('public.degree.information.label.designedFor', degreeInfo_designedFor) }} {{ descriptionSection('public.degree.information.label.professionalExits', degreeInfo_professionalExits) }} {{ descriptionSection('public.degree.information.label.operationalRegime', degreeInfo_operationalRegime) }} {{ descriptionSection('public.degree.information.label.gratuity', degreeInfo_gratuity) }} {% if degreeInfo_description is empty and degreeInfo_history is empty and degreeInfo_objectives is empty and degreeInfo_designedFor is empty and degreeInfo_professionalExits is empty and degreeInfo_operationalRegime is empty and degreeInfo_gratuity is empty and degreeInfo_additionalInfo is empty and degreeInfo_links is empty and not deadlines %}

{{ i18n('resources.PublicDegreeInformation','not.available') }}

{% endif %} {% endif %} {% if coordinators is not empty %}

{{ i18n('resources.PublicDegreeInformation','public.degree.information.label.coordinators') }}

{% for coordinator in coordinators %} {{ personCard(coordinator.person) }} {% endfor %} {% endif %} {% endblock content %}