1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2024-12-05 01:26:54 +00:00

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

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>