diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2011-03-06 18:22:32 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2011-03-06 18:22:32 +0100 |
commit | c0ed28b17baa41a8d69d0cdfd952144d453ea17d (patch) | |
tree | e2f950bb564b5f8b344517fa15b53432b0dd7759 /templates/pages/const.mako | |
parent | 7ab81cd8ccebd0865f9a3498d88d72129c695a45 (diff) | |
download | kosten-c0ed28b17baa41a8d69d0cdfd952144d453ea17d.tar.gz kosten-c0ed28b17baa41a8d69d0cdfd952144d453ea17d.tar.bz2 kosten-c0ed28b17baa41a8d69d0cdfd952144d453ea17d.zip |
Change to german in output
Diffstat (limited to '')
-rw-r--r-- | templates/pages/const.mako | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/templates/pages/const.mako b/templates/pages/const.mako index bbea78d..c8ea251 100644 --- a/templates/pages/const.mako +++ b/templates/pages/const.mako @@ -1,13 +1,18 @@ <%inherit file="/page.mako" /> <ul class="arrow"> - <li><span class="heading">Description:</span> ${exp.description}</li> - <li><span class="heading">Category:</span> ${exp.category.name}</li> - <li><span class="heading">Expense:</span> ${exp.expense}</li> - <li><span class="heading">Monthly expense:</span> ${exp.monthly}</li> - <li><span class="heading">Start Date:</span> ${dformat(exp.start)}</li> - <li><span class="heading">End Date:</span> ${dformat(exp.end)}</li> - <li><span class="heading">Occurrence (every x months):</span> ${exp.months}</li> + <li><span class="heading">Beschreibung:</span> ${exp.description}</li> + <li><span class="heading">Kategorie:</span> ${exp.category.name}</li> + <li><span class="heading">Betrag:</span> ${exp.expense}</li> + <li><span class="heading">Betrag pro Monat:</span> ${exp.monthly}</li> + <li><span class="heading">Start:</span> ${dformat(exp.start)}</li> + <li><span class="heading">Ende:</span> ${dformat(exp.end)}</li> + <li><span class="heading">Zahlungsrhythmus:</span> + % if exp.months == 1: + jeden Monat + % else: + alle ${exp.months} Monate + % endif </ul> <p><a href=${"/const/edit/%s" % exp.id | url}>Edit</a> <a href=${"/const/add/from/%s" % exp.id | url}>Create new based on this</a></p> @@ -25,5 +30,5 @@ %> <%def name="heading()"> - Constant Expense + Konstante Kosten </%def> |