Added total downloaded count to source view (#134)

This commit is contained in:
Kieran
2024-03-27 10:27:48 -07:00
committed by GitHub
parent 854502634c
commit 8ef5e0f41f
2 changed files with 17 additions and 2 deletions
@@ -88,7 +88,7 @@
</:tab>
<:tab title="Downloaded Media">
<%= if match?([_|_], @downloaded_media) do %>
<h4 class="text-white text-lg mb-6">Shows a maximum of 100 media items</h4>
<h4 class="text-white text-lg mb-6">Shows a maximum of 100 media items (<%= @total_downloaded %> total)</h4>
<.table rows={@downloaded_media} table_class="text-black dark:text-white">
<:col :let={media_item} label="Title">
<%= StringUtils.truncate(media_item.title, 50) %>