aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/timeline.php
diff options
context:
space:
mode:
authorwinter2024-12-31 16:25:22 +0000
committerwinter2024-12-31 16:25:22 +0000
commit982e6213622bcb78a40d17f54cda27225a1d84b3 (patch)
tree0a81d8fc183238dca959a4ab848c9cd1d241ef27 /templates/timeline.php
parentad554b48e7dc355d9b33eede98f4e3e829fd867e (diff)
rework timelines. inclusion reasons supported now
Diffstat (limited to 'templates/timeline.php')
-rw-r--r--templates/timeline.php11
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