Display video preview iff the solution was already uploaded

This commit is contained in:
Yohann D'ANELLO 2020-10-12 10:48:00 +02:00
parent d420177011
commit b397d00011
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
</dl>
{% if participation.solution.platform == "youtube" %}
{% include "participation/youtube_iframe.html" with youtube_code=participation.solution.youtube_code %}
{% else %}
{% elif participation.solution %}
<div class="alert alert-danger">
{% trans "This video platform is not supported yet." %}
</div>