From eed2e70d210e13b7ed09a183e8ba1d7cd8a6adcb Mon Sep 17 00:00:00 2001 From: Brock H Caldwell Date: Mon, 12 May 2025 15:10:25 -0500 Subject: [PATCH] fix: download progress indicator --- templates/broadcast/Download.stream.html.twig | 11 +++-------- templates/components/DownloadList.html.twig | 8 ++++---- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/templates/broadcast/Download.stream.html.twig b/templates/broadcast/Download.stream.html.twig index 4fcfb39..a7da112 100644 --- a/templates/broadcast/Download.stream.html.twig +++ b/templates/broadcast/Download.stream.html.twig @@ -15,9 +15,7 @@ {{ entity.progress }} {% else %} - - Complete - + {% endif %} @@ -34,7 +32,7 @@ - {{ entity.progress }} + {{ entity.progress }} @@ -59,9 +57,7 @@ {{ entity.title }} - - Complete - + @@ -71,5 +67,4 @@ {% block remove %} -{# #} {% endblock %} diff --git a/templates/components/DownloadList.html.twig b/templates/components/DownloadList.html.twig index fa682d6..76154e2 100644 --- a/templates/components/DownloadList.html.twig +++ b/templates/components/DownloadList.html.twig @@ -20,11 +20,11 @@ {{ download.title }} - + {% if download.progress < 100 %} - - {{ download.progress }} - +
+ {{ download.progress }} +
{% else %} {% endif %}