From 18a35cc8ab40fbb7fc2ac509847674ee937461ce Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 13 Jan 2024 04:53:27 +0000 Subject: [PATCH] Rework video display on live schedule items to mirror historic ones. --- templates/schedule/item.html | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/templates/schedule/item.html b/templates/schedule/item.html index 61f1a083e..13eaec3c1 100644 --- a/templates/schedule/item.html +++ b/templates/schedule/item.html @@ -30,19 +30,6 @@

-{% if proposal.youtube_url %} - -{% endif %} -

{{ (proposal.published_description or proposal.description) | urlize }}

{% if proposal.type == 'workshop' or proposal.type == 'youthworkshop' %} @@ -80,6 +67,22 @@

{% endif %}

 

+{% if proposal.youtube_url or proposal.c3voc_url %} +

Video

+
+ {% if proposal.c3voc_url %} + + {% elif proposal.youtube_url %} + +

View this video on YouTube.

+ {% endif %} +
+

 

+{% endif %} +

Return to: