diff --git a/lib/pinchflat_web/controllers/sources/source_html/show.html.heex b/lib/pinchflat_web/controllers/sources/source_html/show.html.heex index 8572f22..9a2e678 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/show.html.heex +++ b/lib/pinchflat_web/controllers/sources/source_html/show.html.heex @@ -77,10 +77,17 @@

Shows a maximum of 100 media items

<.table rows={@pending_media} table_class="text-black dark:text-white"> <:col :let={media_item} label="Title"> - <%= StringUtils.truncate(media_item.title, 50) %> + <.subtle_link href={~p"/sources/#{@source.id}/media/#{media_item.id}"}> + <%= StringUtils.truncate(media_item.title, 50) %> + <:col :let={media_item} label="" class="flex place-content-evenly"> - <.icon_link href={~p"/sources/#{@source.id}/media/#{media_item.id}"} icon="hero-eye" /> + <.icon_link href={~p"/sources/#{@source.id}/media/#{media_item.id}"} icon="hero-eye" class="mx-1" /> + <.icon_link + href={~p"/sources/#{@source.id}/media/#{media_item.id}/edit"} + icon="hero-pencil-square" + class="mx-1" + /> <% else %> @@ -92,10 +99,17 @@

Shows a maximum of 100 media items (<%= @total_downloaded %> total)

<.table rows={@downloaded_media} table_class="text-black dark:text-white"> <:col :let={media_item} label="Title"> - <%= StringUtils.truncate(media_item.title, 50) %> + <.subtle_link href={~p"/sources/#{@source.id}/media/#{media_item.id}"}> + <%= StringUtils.truncate(media_item.title, 50) %> + <:col :let={media_item} label="" class="flex place-content-evenly"> - <.icon_link href={~p"/sources/#{@source.id}/media/#{media_item.id}"} icon="hero-eye" /> + <.icon_link href={~p"/sources/#{@source.id}/media/#{media_item.id}"} icon="hero-eye" class="mx-1" /> + <.icon_link + href={~p"/sources/#{@source.id}/media/#{media_item.id}/edit"} + icon="hero-pencil-square" + class="mx-1" + /> <% else %>