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