From fda2e478f161e7b1e0d7685a57220674412939b8 Mon Sep 17 00:00:00 2001 From: Xavier Medrano Date: Wed, 3 Jul 2024 10:07:03 -0400 Subject: [PATCH] handle if proper broadcast becomes avail while there's a manual one --- lametro/templates/event/event.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lametro/templates/event/event.html b/lametro/templates/event/event.html index 20bdc6f5..27d1acb0 100644 --- a/lametro/templates/event/event.html +++ b/lametro/templates/event/event.html @@ -51,7 +51,13 @@

{% elif event.status != 'cancelled' %}
- {% if event.media.all.exists %} + {% if event.has_manual_broadcast and event.media.all.exists %} +

+ This event now has a proper broadcast link, and the previous manual broadcast can now be unpublished. + Please unpublish the manual link. +

+ Unpublish Watch Live Link + {% elif event.media.all.exists %}

This event has a proper broadcast link, and cannot have a manual broadcast published.

{% elif not event.has_manual_broadcast and manual_events|length >= 1 %}