diff --git a/src/Download/Framework/Entity/Download.php b/src/Download/Framework/Entity/Download.php index c555273..e802dce 100644 --- a/src/Download/Framework/Entity/Download.php +++ b/src/Download/Framework/Entity/Download.php @@ -7,7 +7,7 @@ use Doctrine\ORM\Mapping as ORM; use Symfony\UX\Turbo\Attribute\Broadcast; #[ORM\Entity(repositoryClass: DownloadRepository::class)] -#[Broadcast] +#[Broadcast(template: 'broadcast/Download.stream.html.twig')] class Download { #[ORM\Id] diff --git a/templates/broadcast/Download.stream.html.twig b/templates/broadcast/Download.stream.html.twig index bd2636e..4ee1c83 100644 --- a/templates/broadcast/Download.stream.html.twig +++ b/templates/broadcast/Download.stream.html.twig @@ -2,10 +2,16 @@ {% block create %} {% endblock %} @@ -14,12 +20,16 @@ {% if entity.status != "Complete" %} {% else %} @@ -28,28 +38,26 @@ - - - +{# #} +{# #} +{# #} {% endif %} {% endblock %} {% block remove %} - +{# #} {% endblock %} diff --git a/templates/components/ActiveDownloadList.html.twig b/templates/components/ActiveDownloadList.html.twig index e9c4008..ec422e9 100644 --- a/templates/components/ActiveDownloadList.html.twig +++ b/templates/components/ActiveDownloadList.html.twig @@ -1,5 +1,5 @@ - - + +
+ diff --git a/templates/components/Header.html.twig b/templates/components/Header.html.twig index 3cef743..049e3de 100644 --- a/templates/components/Header.html.twig +++ b/templates/components/Header.html.twig @@ -15,7 +15,6 @@
    -
{% if this.getDownloads()|length > 0 %} {% for download in this.getDownloads() %} -
{{ download.title }}