{% extends "base.html" %} {% block title %}Vidéos · Shorts J+7{% endblock %} {% block content %} {% set labels = {'pending': 'En attente', 'collected': 'Collectée', 'unavailable': 'Indisponible', 'failed': 'Échec', 'too_old': 'Trop ancienne', 'not_short': 'Pas un Short'} %} {% set days = ['', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.', 'dim.'] %}

Vidéos

{{ videos | length }} plus récentes

{% for v in videos %} {% else %} {% endfor %}
Sortie Titre État Vues Likes Comm. Durée Thème Likes épinglé Rang
{{ days[v.isodow] }} {{ v.published_at.strftime('%d/%m/%y %H:%M') }} {{ v.title or v.video_id }} {{ v.channel }} {% if v.comment_text %}
commentaire

{{ v.comment_text }}

{% endif %}
{{ labels.get(v.status, v.status) }} {{ '{:,}'.format(v.views).replace(',', ' ') if v.views is not none else '' }} {{ '{:,}'.format(v.likes).replace(',', ' ') if v.likes is not none else '' }} {{ v.comments if v.comments is not none else '' }} {{ v.duration ~ ' s' if v.duration is not none else '' }} {{ v.theme if v.status == 'collected' else '' }} {{ v.comment_likes if v.comment_likes is not none else '' }} {{ v.comment_rank if v.comment_rank is not none else '' }}
Aucune vidéo découverte pour l'instant.
{% endblock %} {% block scripts %}{% endblock %}