summaryrefslogtreecommitdiff
path: root/templates/pages/constlist.mako
blob: f870b8077debce256c0129ec8b64c75b1b5de013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<%inherit file="/page.mako" />

<p><a href=${"/const/add" | url}>Neuen Eintrag hinzufügen</a></p>

<h2>Aktuell</h2>
<ul class="arrow">
    % for c in current:
        <li><a href=${"/const/%s" % c.id | url}>${c.description} (${c.expense | eur})</a></li>
    % endfor
</ul>

% if future:
    <h2>Zukünftige</h2>
    <ul class="arrow">
        % for c in future:
            <li><a href=${"/const/%s" % c.id | url}>${c.description} (${c.expense | eur})</a></li>
        % endfor
    </ul>
% endif

% if old:
    <h2>Veraltet</h2>
    <ul class="arrow">
        % for c in old:
            <li><a href=${"/const/%s" % c.id | url}>${c.description} (${c.expense | eur})</a></li>
        % endfor
    </ul>
% endif

<%block name="heading">
    Konstante Kosten
</%block>