From b397d00011352004f758cc1fb0e8f8a35fd1b568 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 12 Oct 2020 10:48:00 +0200 Subject: [PATCH] Display video preview iff the solution was already uploaded --- .../templates/participation/participation_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/participation/templates/participation/participation_detail.html b/apps/participation/templates/participation/participation_detail.html index 2eee5bc..87430d4 100644 --- a/apps/participation/templates/participation/participation_detail.html +++ b/apps/participation/templates/participation/participation_detail.html @@ -28,7 +28,7 @@ {% if participation.solution.platform == "youtube" %} {% include "participation/youtube_iframe.html" with youtube_code=participation.solution.youtube_code %} - {% else %} + {% elif participation.solution %}
{% trans "This video platform is not supported yet." %}