summaryrefslogtreecommitdiff
path: root/templates/show.mako
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show.mako')
-rw-r--r--templates/show.mako14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/show.mako b/templates/show.mako
index 270477a..97c2731 100644
--- a/templates/show.mako
+++ b/templates/show.mako
@@ -9,6 +9,15 @@
% endfor
<strong>Constant:</strong> ${e.const}<br>
<strong>In Summa:</strong> ${e.sum}<br><br>
+
+ <h3 class="details_heading">Details</h3>
+ <div class="details">
+ <ul>
+ % for exp in e.all:
+ <li>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense} </li>
+ % endfor
+ </ul>
+ </div>
% endfor
<%def name="heading()">
@@ -23,3 +32,8 @@
<%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>