diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-05-25 14:18:00 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-05-25 14:18:00 +0200 |
commit | 7e00c39a085e6801f01e043e841b7ef7b102a20f (patch) | |
tree | eaa02465f5e596494d89cacb772fabf5427a9fc2 /templates/show.mako | |
parent | d3fa7f56c85241db83ebb986cdbf64004f5682be (diff) | |
download | kosten-7e00c39a085e6801f01e043e841b7ef7b102a20f.tar.gz kosten-7e00c39a085e6801f01e043e841b7ef7b102a20f.tar.bz2 kosten-7e00c39a085e6801f01e043e841b7ef7b102a20f.zip |
Move page templates into their own folder
Diffstat (limited to 'templates/show.mako')
-rw-r--r-- | templates/show.mako | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/templates/show.mako b/templates/show.mako deleted file mode 100644 index dc23b9c..0000000 --- a/templates/show.mako +++ /dev/null @@ -1,52 +0,0 @@ -<%inherit file="/page.mako" /> - -% for e in exps: - % if len(exps) > 1: - <h2>${get_d(e)}</h2> - % endif - % for c in e.catexps: - <strong class="details_heading">${c.cat.name}</strong> ${c.expense}<br/> - <div class="details"> - <ul> - % for exp in c.all: - <li><a href=${"/edit/%s" % exp.id | url}>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense}</a></li> - % endfor - </ul> - </div> - % endfor - <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: - <li><a href=${"/edit/%s" % exp.id | url}>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense}</a></li> - % endfor - </ul> - </div> - <br/> -% endfor - -<%def name="heading()"> - % if len(exps) > 1: - Current expenses - % else: - Expenses for ${get_d(exps[0])} - % endif - -</%def> - -<%def name="get_d(e)"> - ${e.date.year}/${e.date.month} -</%def> - -<%def name="js()"> - ${parent.js()} - <script type="text/javascript" src=${"/static/js/show.js" | url}></script> -</%def> |