From: Rico Hoppe Date: Sat, 24 Feb 2024 14:01:47 +0000 (+0000) Subject: docs/tree: used DocsList module X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e89b9199a9ddae285ea53a8ebd445644538899fc;p=ipfire.org.git docs/tree: used DocsList module --- diff --git a/src/templates/docs/tree.html b/src/templates/docs/tree.html index e64977a0..de43eeab 100644 --- a/src/templates/docs/tree.html +++ b/src/templates/docs/tree.html @@ -27,24 +27,7 @@
- {% for page in pages %} - {% if page.check_acl(current_user) %} -
-

- {% for p, title in backend.wiki.make_breadcrumbs(page.page) %} - {{ title }} / - {% end %} - - {{ page.title or _("- No Title -") }} -

- -

- {{ page.page }} ‐ - {{ _("Last edited %s") % locale.format_date(page.timestamp, shorter=True) }} -

-
- {% end %} - {% end %} + {% module DocsList(pages, show_author=False) %}
{% end block %}