summaryrefslogtreecommitdiff
path: root/templates/pages
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/pages/constlist.mako23
1 files changed, 17 insertions, 6 deletions
diff --git a/templates/pages/constlist.mako b/templates/pages/constlist.mako
index 6084d11..f870b80 100644
--- a/templates/pages/constlist.mako
+++ b/templates/pages/constlist.mako
@@ -9,12 +9,23 @@
% endfor
</ul>
-<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>
+% 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