mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-02-11 17:41:18 +00:00
Display video preview iff the solution was already uploaded
This commit is contained in:
parent
d420177011
commit
b397d00011
@ -28,7 +28,7 @@
|
|||||||
</dl>
|
</dl>
|
||||||
{% if participation.solution.platform == "youtube" %}
|
{% if participation.solution.platform == "youtube" %}
|
||||||
{% include "participation/youtube_iframe.html" with youtube_code=participation.solution.youtube_code %}
|
{% include "participation/youtube_iframe.html" with youtube_code=participation.solution.youtube_code %}
|
||||||
{% else %}
|
{% elif participation.solution %}
|
||||||
<div class="alert alert-danger">
|
<div class="alert alert-danger">
|
||||||
{% trans "This video platform is not supported yet." %}
|
{% trans "This video platform is not supported yet." %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user