From 848cd3e478d77daf75076e5ee075fb4f76304baa Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 18 Feb 2026 20:42:09 +0100 Subject: render credits --- ui/src/components/node_card.rs | 2 +- ui/src/components/node_page.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'ui/src/components') diff --git a/ui/src/components/node_card.rs b/ui/src/components/node_card.rs index a4ea5e5..1b8fd67 100644 --- a/ui/src/components/node_card.rs +++ b/ui/src/components/node_card.rs @@ -38,7 +38,7 @@ markup::define! { } div.subtitle { span { - @node.get(NO_SUBTITLE) + @nku.get(NKU_ROLE).or(node.get(NO_SUBTITLE)) } } } diff --git a/ui/src/components/node_page.rs b/ui/src/components/node_page.rs index 17e923c..18b1d58 100644 --- a/ui/src/components/node_page.rs +++ b/ui/src/components/node_page.rs @@ -175,7 +175,9 @@ pub fn aspect_class(node: Object<'_>) -> &'static str { match kind { KIND_VIDEO | KIND_EPISODE => "aspect-thumb", KIND_COLLECTION => "aspect-land", - KIND_SEASON | KIND_SHOW | KIND_SERIES | KIND_MOVIE | KIND_SHORTFORMVIDEO => "aspect-port", + KIND_SEASON | KIND_SHOW | KIND_PERSON | KIND_SERIES | KIND_MOVIE | KIND_SHORTFORMVIDEO => { + "aspect-port" + } KIND_CHANNEL | KIND_MUSIC | _ => "aspect-square", } } -- cgit v1.3