From efd12ebd857281530dd986674ccf3f1aba8f4e20 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 15 Apr 2013 00:31:16 +0200 Subject: constexps functionality --- templates/pages/constlist.jinja | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 templates/pages/constlist.jinja (limited to 'templates/pages/constlist.jinja') diff --git a/templates/pages/constlist.jinja b/templates/pages/constlist.jinja new file mode 100644 index 0000000..ffe121f --- /dev/null +++ b/templates/pages/constlist.jinja @@ -0,0 +1,23 @@ +{% extends "page.jinja" %} + +{% block heading %} + Konstante Kosten +{% endblock %} + +{% block content %} +

Neuen Eintrag hinzufügen

+ + {{ list(current, "Aktuell") }} + + {% if future %} {{ list(future, "Zukünftige") }} {% endif %} + {% if old %} {{ list(old, "Veraltet") }} {% endif %} +{% endblock %} + +{% macro list(list, h) %} +

{{ h }}

+ +{% endmacro %} -- cgit v1.2.3-54-g00ecf