summaryrefslogtreecommitdiff
path: root/templates/menu.jinja
blob: 0422612e1334687a9a469f80ae75a7b77ccdf693 (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 %}