diff options
Diffstat (limited to '')
-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()"> |