blob: 4d2dd6224d2f569ea9fc2a4eab3d556d1f513034 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
This file is part of jellything (https://codeberg.org/metamuffin/jellything)
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2026 metamuffin <metamuffin.org>
*/
pub mod message;
pub mod node_page;
pub mod props;
pub mod stats;
use crate::{RenderInfo, components::message::Message};
use jellycommon::{VIEW_MESSAGE, jellyobject::Object};
use markup::define;
define! {
View<'a>(ri: &'a RenderInfo<'a>, view: Object<'a>) {
@if let Some(message) = view.get(VIEW_MESSAGE) {
@Message { ri, message }
}
}
}
|