diff --git a/templates/components/DownloadList.html.twig b/templates/components/DownloadList.html.twig index 77b68b7..617b327 100644 --- a/templates/components/DownloadList.html.twig +++ b/templates/components/DownloadList.html.twig @@ -11,34 +11,30 @@ + class="px-6 py-3 text-start text-xs font-medium text-stone-500 uppercase dark:text-stone-800 truncate"> Title - - {% if this.isWidget == false %} - - Filename - - - Media type - - {% endif %} - + + Filename + + + Media type + Progress + class="hidden md:table-cell px-6 py-3 text-start text-xs font-medium text-gray-500 uppercase dark:text-stone-800"> {% if this.downloads.items|length > 0 %} {% for download in this.downloads.items %} - + {% endfor %} {% if this.isWidget == true and this.downloads.items|length > this.perPage %} diff --git a/templates/components/DownloadListRow.html.twig b/templates/components/DownloadListRow.html.twig index 2f21e1b..ab31221 100644 --- a/templates/components/DownloadListRow.html.twig +++ b/templates/components/DownloadListRow.html.twig @@ -11,14 +11,13 @@ {% endif %} - {% if isWidget == false %} - - {{ download.filename }} - - - {{ download.mediaType }} - - {% endif %} + + {{ download.filename }} + + + + {{ download.mediaType }} + {% if download.progress < 100 %} @@ -32,7 +31,7 @@ {% endif %} - + {% if download.status == 'In Progress' and download.progress < 100 %}