summaryrefslogtreecommitdiff
path: root/templates/menu.jinja
blob: df5b6a13070ea20295316806db0e1df7e1c7d6ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% set menu = [
        ("index", "Kosten"),
        ("expenses.add", "Neu"),
        ("consts.list", "Konstante Kosten"),
        ("categories.manage", "Kategorien"),
        ("stats.show", "Statistiken")
        ]
%}
{% if current_user.is_authenticated %}
    {% set menu = menu + [
        ("user.cpw", "Passwort ändern"),
        ("user.logout", "Logout")]
    %}
{% endif %}