{% extends "emissions/episode_detail.html" %} {% load i18n soundfiles panikdbtags nonstop %} {% block diffusions-data %}

{% trans "Diffusions" %}

{% now "Y-m-d H:i" as s_now %}
{% endblock %} {% block soundfiles-extra-column-headers %} {% trans "Download count" %} {% endblock %} {% block soundfiles-extra-action-headers %} {% if perms.emissions.add_focus %}Focus{% endif %} {% endblock %} {% block soundfiles-extra-column-cells %} {% if soundfile.external_url %}{% trans "n/a" %}{% else %}{{ soundfile|nb_visits }}{% endif %} {% endblock %} {% block soundfiles-extra-action-cells %} {% if perms.emissions.add_focus %} {% if soundfile|has_focus %} ✓ retirer {% else %} {% if soundfile.format %} mettre {% endif %} {% endif %} {% endif %} {% endblock %} {% block page-end %} {{ block.super }} {% endblock %}