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/global_timeline.php | 10 ---------- templates/local_timeline.php | 10 ---------- templates/reason_reshared.php | 10 ++++++++++ templates/timeline.php | 11 +++++++++++ 4 files changed, 21 insertions(+), 20 deletions(-) delete mode 100644 templates/global_timeline.php delete mode 100644 templates/local_timeline.php create mode 100644 templates/reason_reshared.php create mode 100644 templates/timeline.php (limited to 'templates') diff --git a/templates/global_timeline.php b/templates/global_timeline.php deleted file mode 100644 index f475656..0000000 --- a/templates/global_timeline.php +++ /dev/null @@ -1,10 +0,0 @@ - __('timeline.global')], function () { - global $notes; - call_template('alertbox', [ - 'variety' => 'info', - 'message' => __('timeline.global.description') - ]); - foreach ($notes as $n) { - call_template('note', ['note' => $n]); - } -}); \ No newline at end of file diff --git a/templates/local_timeline.php b/templates/local_timeline.php deleted file mode 100644 index 9d9027c..0000000 --- a/templates/local_timeline.php +++ /dev/null @@ -1,10 +0,0 @@ - __('timeline.local')], function () { - global $notes; - call_template('alertbox', [ - 'variety' => 'info', - 'message' => __('timeline.local.description') - ]); - foreach ($notes as $n) { - call_template('note', ['note' => $n]); - } -}); \ No newline at end of file diff --git a/templates/reason_reshared.php b/templates/reason_reshared.php new file mode 100644 index 0000000..2c1e4c5 --- /dev/null +++ b/templates/reason_reshared.php @@ -0,0 +1,10 @@ +