diff -r 0690d715385d -r 67f48e288102 templates/channel_date.tmpl --- a/templates/channel_date.tmpl Wed Feb 11 04:57:55 2009 +0200 +++ b/templates/channel_date.tmpl Wed Feb 11 21:49:35 2009 +0200 @@ -1,13 +1,25 @@ <%inherit file="channel.tmpl" /> -<%namespace file="inc_paginate.tmpl" import="paginate" /> +<%namespace file="inc_paginate.tmpl" name="paginate" /> + +## special pagination stuff +<%def name="paginate_date()"> + <%call expr="paginate.paginate(urls.channel_date, count, page, max, channel=channel, date=date)"> + <%def name="left()"> + « ${h.fmt_date(h.prev_date(date))} + + <%def name="right()"> + ${h.fmt_date(h.next_date(date))} » + + +
${channel.title} :: Logs for ${h.fmt_date(date)}
% if page : -${paginate(urls.channel_date, count, page, max, channel=channel, date=date)} +${paginate_date()} % endif <%include file="lines.tmpl" /> % if page : -${paginate(urls.channel_date, count, page, max, channel=channel, date=date)} +${paginate_date()} % endif