diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-02-18 13:25:24 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-02-18 13:25:24 +0100 |
| commit | 45a485431df0638396f0175de59275b3b5538022 (patch) | |
| tree | 4993b5b8b598d6de1036308d32b50d078fd0e365 /ui/src/components/node_list.rs | |
| parent | 3bbedf5ab337d8c6d608ed0b24b9c656b0ee1004 (diff) | |
| download | jellything-45a485431df0638396f0175de59275b3b5538022.tar jellything-45a485431df0638396f0175de59275b3b5538022.tar.bz2 jellything-45a485431df0638396f0175de59275b3b5538022.tar.zst | |
wide card; node visi; import children plugin
Diffstat (limited to 'ui/src/components/node_list.rs')
| -rw-r--r-- | ui/src/components/node_list.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ui/src/components/node_list.rs b/ui/src/components/node_list.rs index 87ccb08..564d3be 100644 --- a/ui/src/components/node_list.rs +++ b/ui/src/components/node_list.rs @@ -4,7 +4,10 @@ Copyright (C) 2026 metamuffin <metamuffin.org> */ -use crate::{RenderInfo, components::node_card::NodeCard}; +use crate::{ + RenderInfo, + components::node_card::{NodeCard, NodeCardWide}, +}; use jellycommon::{jellyobject::Object, *}; use jellyui_locale::tr; @@ -24,5 +27,10 @@ markup::define! { li { @NodeCard { ri, nku } } }} } + @if ds == NLSTYLE_LIST { + ol.nl.list { @for nku in nl.iter(NODELIST_ITEM) { + li { @NodeCardWide { ri, nku } } + }} + } } } |