diff options
| author | winter | 2024-12-31 16:25:22 +0000 |
|---|---|---|
| committer | winter | 2024-12-31 16:25:22 +0000 |
| commit | 982e6213622bcb78a40d17f54cda27225a1d84b3 (patch) | |
| tree | 0a81d8fc183238dca959a4ab848c9cd1d241ef27 /templates/timeline.php | |
| parent | ad554b48e7dc355d9b33eede98f4e3e829fd867e (diff) | |
rework timelines. inclusion reasons supported now
Diffstat (limited to 'templates/timeline.php')
| -rw-r--r-- | templates/timeline.php | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ +<?php call_template('skeleton', ['pageTitle' => __("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 |
