{% extends "agenda/base.html" %}
{% load i18n %}
{% load rich_text %}

{% block content %}
    <h3 class="talk-title">
        <a href="{{ talk.urls.public }}">
            {% trans "Feedback for" %} {{ quotation_open }}{{ talk.title }}{{ quotation_close }}
        </a>
        <small>
            {{ talk.slot.start.date|date:"c" }}, {{ talk.slot.start|date:"H:i" }}–{{ talk.slot.end|date:"H:i" }}, {{ talk.slot.room.name }}
        </small>
    </h3>
    <div class="talk feedback-list">
    {% for opinion in feedback %}
        <div class="speakers feedback-box">
            {% if opinion.speaker and talk.speakers.count > 1 %}
                <div><em>
                {{ phrases.agenda.feedback_personal }}
                </em></div>
            {% endif %}
            <i class="fa fa-quote-left quote" aria-hidden="true"></i>
            <div class="feedback-text">
                {{ opinion.review|rich_text }}
            </div>
            <i class="fa fa-quote-right quote float-right" aria-hidden="true"></i>
        </div>
    {% empty %}
        {{ phrases.agenda.feedback_empty }}
    {% endfor %}
    </div>
{% endblock %}
