summaryrefslogtreecommitdiff
path: root/templates/pages/constlist.jinja
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-04-15 00:59:59 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-04-15 00:59:59 +0200
commitbcc2e4fcec619078059102dbd5c8172010390a46 (patch)
treed4ad2f8883c090ff57294515852b4d02df8c38a1 /templates/pages/constlist.jinja
parenta5fdb04dca0c88822192b4b5f08b11aa55bb6d7b (diff)
downloadkosten-bcc2e4fcec619078059102dbd5c8172010390a46.tar.gz
kosten-bcc2e4fcec619078059102dbd5c8172010390a46.tar.bz2
kosten-bcc2e4fcec619078059102dbd5c8172010390a46.zip
Some reorganizing
Diffstat (limited to 'templates/pages/constlist.jinja')
-rw-r--r--templates/pages/constlist.jinja23
1 files changed, 0 insertions, 23 deletions
diff --git a/templates/pages/constlist.jinja b/templates/pages/constlist.jinja
deleted file mode 100644
index ffe121f..0000000
--- a/templates/pages/constlist.jinja
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends "page.jinja" %}
-
-{% block heading %}
- Konstante Kosten
-{% endblock %}
-
-{% block content %}
- <p><a href="{{ url_for(".add") }}">Neuen Eintrag hinzufügen</a></p>
-
- {{ list(current, "Aktuell") }}
-
- {% if future %} {{ list(future, "Zukünftige") }} {% endif %}
- {% if old %} {{ list(old, "Veraltet") }} {% endif %}
-{% endblock %}
-
-{% macro list(list, h) %}
- <h2>{{ h }}</h2>
- <ul class="arrow">
- {% for c in list -%}
- <li><a href="{{ url_for(".show", id = c.id) }}">{{c.description}} ({{c.expense | eur}})</a></li>
- {% endfor %}
- </ul>
-{% endmacro %}