diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-05-12 10:44:15 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-05-12 10:44:15 +0200 |
commit | 01531c519a4a93b985a8494d28f951c746683f56 (patch) | |
tree | f51692a74057fbb65196254df9158fbdb505f959 /templates/show.mako | |
parent | 585e2750154a4b6816bb2a67aca02b1640a5c7d6 (diff) | |
download | kosten-01531c519a4a93b985a8494d28f951c746683f56.tar.gz kosten-01531c519a4a93b985a8494d28f951c746683f56.tar.bz2 kosten-01531c519a4a93b985a8494d28f951c746683f56.zip |
Show more details
Diffstat (limited to 'templates/show.mako')
-rw-r--r-- | templates/show.mako | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/templates/show.mako b/templates/show.mako index 97c2731..88d802c 100644 --- a/templates/show.mako +++ b/templates/show.mako @@ -5,12 +5,24 @@ <h2>${get_d(e)}</h2> % endif % for c in e.catexps: - <strong>${c.cat.name}</strong> ${c.expense}<br> + <strong class="details_heading">${c.cat.name}</strong> ${c.expense}<br/> + <div class="details"> + <ul> + % for exp in c.all: + <li>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense} </li> + % endfor + </ul> + </div> % endfor - <strong>Constant:</strong> ${e.const}<br> - <strong>In Summa:</strong> ${e.sum}<br><br> - - <h3 class="details_heading">Details</h3> + <strong class="details_heading">Constant:</strong> ${e.constsum}<br/> + <div class="details"> + <ul> + % for c in e.consts: + <li>${c.monthly} -- ${c.description}</li> + % endfor + </ul> + </div> + <strong class="details_heading">In Summa:</strong> ${e.sum}<br /> <div class="details"> <ul> % for exp in e.all: @@ -18,6 +30,7 @@ % endfor </ul> </div> + <br/> % endfor <%def name="heading()"> |