<%= if media_file_exists?(@media_item) do %>
-
Preview
- <.media_preview media_item={@media_item} />
+
+
+ <.media_preview media_item={@media_item} />
+
+
+
<% end %>
-
<%= @media_item.title %>
-
Attributes
+
Raw Attributes
Source:
<.subtle_link href={~p"/sources/#{@media_item.source_id}"}>
<%= @media_item.source.custom_name %>
+ <.list_items_from_map map={Map.from_struct(@media_item)} />
-
- <.list_items_from_map map={Map.from_struct(@media_item)} />
<:tab title="Tasks">
diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex
index 62e8603..0beccee 100644
--- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex
+++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex
@@ -43,9 +43,9 @@
- <:tab title="Attributes">
+ <:tab title="Media Profile">