summaryrefslogtreecommitdiff
path: root/templates/consts/list.jinja
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-07-23 00:28:47 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-07-23 00:28:47 +0200
commit81493afa53a1a1d5ff4b417d05febf9f9e2a172b (patch)
tree00de0a1bb7c386cff4203aa7b0789569e75347bb /templates/consts/list.jinja
parent6f6c8af2a55fabb69372e3fc4e8504167805d018 (diff)
downloadkosten-81493afa53a1a1d5ff4b417d05febf9f9e2a172b.tar.gz
kosten-81493afa53a1a1d5ff4b417d05febf9f9e2a172b.tar.bz2
kosten-81493afa53a1a1d5ff4b417d05febf9f9e2a172b.zip
Restructure
Diffstat (limited to 'templates/consts/list.jinja')
-rw-r--r--templates/consts/list.jinja24
1 files changed, 0 insertions, 24 deletions
diff --git a/templates/consts/list.jinja b/templates/consts/list.jinja
deleted file mode 100644
index 7fef344..0000000
--- a/templates/consts/list.jinja
+++ /dev/null
@@ -1,24 +0,0 @@
-{% extends "layout.jinja" %}
-
-{% block heading %}
- Konstante Kosten
-{% endblock %}
-
-{% block content %}
- <p><a href="{{ url_for(".add") }}">Neuen Eintrag hinzufügen</a></p>
-
- {{ list(current, "Aktuell") }}
-
- {% if last_month %} {{ list(last_month, "Endeten letzten Monat") }} {% endif %}
- {% 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 %}