aboutsummaryrefslogtreecommitdiff
path: root/ui/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-02-18 20:42:09 +0100
committermetamuffin <metamuffin@disroot.org>2026-02-18 20:42:09 +0100
commit848cd3e478d77daf75076e5ee075fb4f76304baa (patch)
treeb253fb461952e85045f02a1e1be3e4d67dfe93c1 /ui/src
parent0d2068477d474416d92557c5af5491527c50d11d (diff)
downloadjellything-848cd3e478d77daf75076e5ee075fb4f76304baa.tar
jellything-848cd3e478d77daf75076e5ee075fb4f76304baa.tar.bz2
jellything-848cd3e478d77daf75076e5ee075fb4f76304baa.tar.zst
render credits
Diffstat (limited to 'ui/src')
-rw-r--r--ui/src/components/node_card.rs2
-rw-r--r--ui/src/components/node_page.rs4
2 files changed, 4 insertions, 2 deletions
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",
}
}