From 61b122e88cc6783b4d0cf5142a22002f8e558c60 Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 15 Mar 2025 18:35:59 +0000 Subject: implement pages --- templates/pages_list_page.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/pages_list_page.php (limited to 'templates/pages_list_page.php') diff --git a/templates/pages_list_page.php b/templates/pages_list_page.php new file mode 100644 index 0000000..2dd1af2 --- /dev/null +++ b/templates/pages_list_page.php @@ -0,0 +1,19 @@ + __('note.page.list.pageTitle')], function () { + ?> + + $note]); + } + if (count($notes) == 0) { + call_template('placeholder_text'); + } else { + call_template('placeholder_text', ['count' => Note::countWithExtension(Note::EXTENSION_PAGES) - count($notes)]); + } +}); \ No newline at end of file -- cgit v1.3