diff options
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/src/components/node_card.rs | 2 | ||||
| -rw-r--r-- | ui/src/components/node_page.rs | 4 |
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", } } |