summaryrefslogtreecommitdiff
path: root/templates/show.mako
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-05-25 14:10:44 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-05-25 14:10:44 +0200
commitd3fa7f56c85241db83ebb986cdbf64004f5682be (patch)
tree9854e213fc7f80c744839f201ca26589471eddd5 /templates/show.mako
parent0ef8460158520285c89f32a03f387ef6871ce3f1 (diff)
downloadkosten-d3fa7f56c85241db83ebb986cdbf64004f5682be.tar.gz
kosten-d3fa7f56c85241db83ebb986cdbf64004f5682be.tar.bz2
kosten-d3fa7f56c85241db83ebb986cdbf64004f5682be.zip
Added the ability to edit an expense
Diffstat (limited to 'templates/show.mako')
-rw-r--r--templates/show.mako4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show.mako b/templates/show.mako
index 88d802c..dc23b9c 100644
--- a/templates/show.mako
+++ b/templates/show.mako
@@ -9,7 +9,7 @@
<div class="details">
<ul>
% for exp in c.all:
- <li>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense} </li>
+ <li><a href=${"/edit/%s" % exp.id | url}>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense}</a></li>
% endfor
</ul>
</div>
@@ -26,7 +26,7 @@
<div class="details">
<ul>
% for exp in e.all:
- <li>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense} </li>
+ <li><a href=${"/edit/%s" % exp.id | url}>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense}</a></li>
% endfor
</ul>
</div>
-05-08 23:38:49 +0200'>2007-05-08Update to libgit 1.5.2-rc2Lars Hjemli9-837/+50 2007-02-21Layout updateLars Hjemli9-32/+127 2007-02-08Make snapshot feature configurableLars Hjemli5-6/+22 2007-02-08Add support for snapshotsLars Hjemli8-8/+153 2007-02-05cgit v0.2v0.2Lars Hjemli1-1/+1 2007-02-05Add support for prefix and gitsrc arguments to 'make'Lars Hjemli2-15/+37 2007-02-04Update cgitrc templateLars Hjemli1-21/+32 2007-02-04Add support for lightweight tagsLars Hjemli2-19/+37 2007-02-04Read repo-info from /etc/cgitrcLars Hjemli5-55/+120 2007-02-04Do not die if tag has no messageLars Hjemli1-2/+2 2007-02-03Fix search for non-virtual urlsLars Hjemli1-0/+6 2007-01-28Update README with install/config informationLars Hjemli1-24/+28