]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/wiki/tree.html
wiki: Add tree
[ipfire.org.git] / src / templates / wiki / tree.html
CommitLineData
86368c12
MT
1{% extends "base.html" %}
2
3{% block title %}{{ _("Tree") }}{% end block %}
4
5{% block main %}
6 <section>
7 <div class="container">
8 <div class="row">
9 <div class="col col-lg-6">
10 <h1>{{ _("Tree") }}</h1>
11 </div>
12 </div>
13 </div>
14 </section>
15
16 <div class="card">
17 <div class="list-group list-group-flush">
18 {% for page in pages %}
19 {% if page.check_acl(current_user) %}
20 <div class="list-group-item d-flex flex-column">
21 <p class="mb-0">
22 {% for p, title in backend.wiki.make_breadcrumbs(page.page) %}
23 <a href="{{ p }}">{{ title }}</a> /
24 {% end %}
25
26 <a href="{{ page.url }}">{{ page.title or _("- No Title -") }}</a>
27 </p>
28
29 <small class="text-muted">
30 {{ page.page }} &dash;
31 {{ _("Last edited %s") % locale.format_date(page.timestamp, shorter=True) }}
32 </small>
33 </div>
34 {% end %}
35 {% end %}
36 </div>
37 </div>
38{% end block %}