From 982e6213622bcb78a40d17f54cda27225a1d84b3 Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 31 Dec 2024 16:25:22 +0000 Subject: rework timelines. inclusion reasons supported now --- templates/timeline.php | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 templates/timeline.php (limited to 'templates/timeline.php') diff --git a/templates/timeline.php b/templates/timeline.php new file mode 100644 index 0000000..7ba2fbf --- /dev/null +++ b/templates/timeline.php @@ -0,0 +1,11 @@ + __("timeline.$kind")], function () { + global $items, $kind; + call_template('alertbox', [ + 'variety' => 'info', + 'message' => __("timeline.$kind.description") + ]); + foreach ($items as $item) { + $item->getReason()?->renderAsHtml(); + $item->getObject()->renderAsHtml(); + } +}); \ No newline at end of file -- cgit v1.3