summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/pages/const.mako8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/pages/const.mako b/templates/pages/const.mako
index a65a260..ec68ef8 100644
--- a/templates/pages/const.mako
+++ b/templates/pages/const.mako
@@ -11,16 +11,18 @@
<p><a href=${"/const/edit/%s" % exp.id | url}>Edit</a> <a href=${"/const/add/from/%s" % exp.id | url}>Create new based on this</a></p>
<%
+ def create(p):
+ return ("const/%s" % p.id, "%s (%s-%s)" % (p.description, dformat(p.start), dformat(p.end)))
+
p = exp.prev
if p:
- context.write(self.left_arrow("const/%s" % p.id, p.description))
+ context.write(self.left_arrow(*create(p)))
p = exp.next
if p:
- context.write(self.right_arrow("const/%s" % p.id, p.description))
+ context.write(self.right_arrow(*create(p)))
%>
-
<%def name="heading()">
Constant Expense
</%def>
46:53 +0200'>2013-10-22cwd-spawn: Use M-Return instead of M-o for consistency.René 'Necoro' Neumann1-2/+2 2013-10-22Add cwd-spawn to urxvt to allow spawning a new terminal from the currentRené 'Necoro' Neumann3-2/+199 2013-10-22Use chpwd_functions and precmd_functions instead of putting everything inRené 'Necoro' Neumann1-19/+23 2013-09-30urxvt: execute the wgetpaste check each timeRené 'Necoro' Neumann1-2/+5 2013-09-30urxvt: wgetpaste fixRené 'Necoro' Neumann1-4/+4 2013-09-30Allow HOME variable in .Xresources.René 'Necoro' Neumann2-3/+3 2013-09-30wgetpaste support for urxvt.René 'Necoro' Neumann2-1/+28 2013-09-30Urxvt autotransform for <filename>:<line>.René 'Necoro' Neumann1-1/+4 2013-09-30Remove tabbed(x) from urxvt. We use i3 -- no need for it.René 'Necoro' Neumann1-9/+0 2013-09-30Do not display icon in urxvt. It's not supported by i3 anyway.René 'Necoro' Neumann1-1/+1 2013-09-29Remove wrong monitors lineRené 'Necoro' Neumann1-1/+0 2013-09-29Delete vimperator paste plugin -- seems not to work anymore with new FFRené 'Necoro' Neumann1-266/+0 2013-09-29Use $HOST instead of Cauchiy in titleRené 'Necoro' Neumann1-1/+1 2013-09-24Remove herbstluftwmRené 'Necoro' Neumann1-1/+0 2013-09-24Conky changesRené 'Necoro' Neumann2-5/+13 2013-09-15Remove trailing slash from \~ulpRené 'Necoro' Neumann1-1/+1 2013-09-15Make cci explicitly use python2René 'Necoro' Neumann1-1/+1 2013-09-10Node/NPM preparationRené 'Necoro' Neumann3-1/+13 -2/+2 2013-09-14Draw pies using highcharts JS-libRené 'Necoro' Neumann5-20/+99