{% extends "trainings/trainingactivity_base_detail.html" %}

{% load i18n template_tools %}

{% block activity_details %}
    <table class="table table-bordered">
        <tr>
            <td>
                <a href="{{ presentation.pdf.file.url }}" target="_blank">
                    <i class="fa fa-file"></i>
                    {% trans 'Content' %}
                </a>
            </td>
            {% if presentation.restricted_pdf %}
                <td>
                    <a href="{{ presentation.restricted_pdf.file.url }}" target="_blank">
                        <i class="fa fa-file"></i>
                        {% trans 'Restricted content' %}
                    </a>
                </td>
            {% endif %}
        </tr>
    </table>
{% endblock %}
