{% extends "core/base.jinja" %} {% from "core/macros.jinja" import user_profile_link %} {% from "pedagogy/macros.jinja" import display_star %} {% block title %} {% trans %}UV Details{% endtrans %} {% endblock %} {% block content %}

{% trans %}Back{% endtrans %}

{{ object.code }} - {{ object.title }}


{% trans %}CM: {% endtrans %}{{ object.hours_CM }}
{% trans %}TD: {% endtrans %}{{ object.hours_TD }}
{% trans %}TP: {% endtrans %}{{ object.hours_TP }}
{% trans %}TE: {% endtrans %}{{ object.hours_TE }}
{% trans %}THE: {% endtrans %}{{ object.hours_THE }}
{{ object.department }}
{{ object.credit_type }}
{{ object.get_semester_display() }}

{% trans %}Global grade{% endtrans %}

{% trans %}Utility{% endtrans %}

{% trans %}Interest{% endtrans %}

{% trans %}Teaching{% endtrans %}

{% trans %}Work load{% endtrans %}

{{ display_star(object.grade_global_average) }}

{{ display_star(object.grade_utility_average) }}

{{ display_star(object.grade_interest_average) }}

{{ display_star(object.grade_teaching_average) }}

{{ display_star(object.grade_work_load_average) }}

{% trans %}Objectives{% endtrans %}

{{ object.objectives|markdown }}

{% trans %}Program{% endtrans %}

{{ object.program|markdown }}

{% trans %}Earned skills{% endtrans %}

{{ object.skills|markdown }}

{% trans %}Key concepts{% endtrans %}

{{ object.key_concepts|markdown }}

{% trans %}UV manager: {% endtrans %}{{ object.manager }}


{% if object.has_user_already_commented(user) %}

{% trans %}You already posted a comment on this UV. If you want to comment again, please modify or delete your previous comment.{% endtrans %}

{% else %}

{% trans %}Leave comment{% endtrans %}

{% csrf_token %}
{{ form.author.errors }} {{ form.uv.errors }} {{ form.author }} {{ form.uv }}
{{ form.grade_global.errors }} {{ form.grade_global }}
{{ form.grade_utility.errors }} {{ form.grade_utility }}
{{ form.grade_interest.errors }} {{ form.grade_interest }}
{{ form.grade_teaching.errors }} {{ form.grade_teaching }}
{{ form.grade_work_load.errors }} {{ form.grade_work_load }}
{{ form.comment.errors }} {{ form.comment }}

{% endif %}
{% if object.comments.exists() %}

{% trans %}Comments{% endtrans %}

{% for comment in object.comments.order_by("-publish_date").all() %}

{% trans %}Global grade{% endtrans %}

{% trans %}Utility{% endtrans %}

{% trans %}Interest{% endtrans %}

{% trans %}Teaching{% endtrans %}

{% trans %}Work load{% endtrans %}

{{ display_star(comment.grade_global) }}

{{ display_star(comment.grade_utility) }}

{{ display_star(comment.grade_interest) }}

{{ display_star(comment.grade_teaching) }}

{{ display_star(comment.grade_work_load) }}

{{ comment.comment|markdown }}
{% if comment.is_reported %}

{% trans %}This comment has been reported{% endtrans %}

{% endif %} {% if user.is_owner(comment) %}

{% trans %}Edit{% endtrans %} {% trans %}Delete{% endtrans %}

{% endif %}

{{ comment.publish_date.strftime('%d/%m/%Y') }}

{{ user_profile_link(comment.author) }}

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