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

{% load i18n template_tools %}

{% block head %}
    {{ block.super }}
    {% include "cms/includes/lightbox-head.html" %}
{% endblock %}

{% block activity_details %}
    <a href="{{ video.media.file.url }}" class="btn btn-default" data-toggle="lightbox" data-type="video" data-title="{{ video.name }}">
        {% trans 'Preview the video' %}
    </a>
    <a href="{{ video.media.file.url }}" class="btn btn-default" download target="_blank">
        {% trans 'Download the video' %}
    </a>
{% endblock %}
