{% extends "fenixedu-learning-theme/base.html" %} {% import "fenixedu-learning-theme/personCard.html" %} {% block header %} {% endblock header %} {% macro orientatorCard(advisor, size, misteryMan) %} {{ personCard(advisor.name, advisor.person.homepageWebAddress, advisor.person is null ? misteryMan : advisor.person.user.profile.fullAvatarUrl , advisor.type.name, advisor.affiliation, advisor.category, size) }} {% endmacro %} {% macro studentCard(student, size) %} {{ personCard(student.person.presentationName, student.person.homepageWebAddress, student.person.user.profile.fullAvatarUrl, 'STUDENT', null, null, size) }} {% endmacro %} {% macro personCard(name, homepageWebAddress, fullAvatarUrl, type, affiliation, category, size) %}
{{ name }}

{{ i18n('resources.ApplicationResources', 'label.thesis.participant.type.' + type) }}

{{ name }}

{% if affiliation is not empty %}

{{ affiliation }}

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

{{ category }}

{% endif %}
{% endmacro %} {% block content %}

{{ thesis.finalFullTitle }} {{ thesis.finalSubtitle }} {{ thesis.state }}

{% if thesis.thesisAbstract is not empty %}
{{ thesis.thesisAbstract }}
{{ thesis.keywords }}
{% endif %} {% if thesis.currentDiscussedDate is not empty %}

{{ thesis.currentDiscussedDate | formatDate }}

{% endif %}
{% if isAccessible %}

{{ i18n('resources.ApplicationResources', 'title.thesis.details.publication') }}

{{ i18n('resources.ResearcherResources', 'label.publication.subject.to.copyright') }}

{% endif %} {% if not isAccessible and thesis.dissertation is not empty %}
{{ i18n('resources.FenixEduLearningResources', 'thesis.documents.unavailable.public') }}
{% endif %}

{{ i18n('resources.ApplicationResources', 'title.thesis.details.orientation') }}

{% set size = 4 %} {{ studentCard(thesis.student, size) }} {% for advisor in thesis.orientation %} {{ orientatorCard(advisor, size, request.contextPath + '/img/mysteryman.png') }} {% endfor %}
{% endblock content %}