equal
deleted
inserted
replaced
1 <%inherit file="channel.tmpl" /> |
1 <%inherit file="channel.tmpl" /> |
2 <%namespace file="inc_paginate.tmpl" import="paginate" /> |
2 <%namespace file="inc_paginate.tmpl" name="paginate" /> |
|
3 |
|
4 ## special pagination stuff |
|
5 <%def name="paginate_date()"> |
|
6 <%call expr="paginate.paginate(urls.channel_date, count, page, max, channel=channel, date=date)"> |
|
7 <%def name="left()"> |
|
8 <a href="${h.build_url(urls.channel_date, channel=channel, date=h.prev_date(date))}">« ${h.fmt_date(h.prev_date(date))}</a> |
|
9 </%def> |
|
10 <%def name="right()"> |
|
11 <a href="${h.build_url(urls.channel_date, channel=channel, date=h.next_date(date))}">${h.fmt_date(h.next_date(date))} »</a> |
|
12 </%def> |
|
13 </%call> |
|
14 </%def> |
3 |
15 |
4 <div id="title">${channel.title} :: Logs for ${h.fmt_date(date)}</div> |
16 <div id="title">${channel.title} :: Logs for ${h.fmt_date(date)}</div> |
5 |
17 |
6 % if page : |
18 % if page : |
7 ${paginate(urls.channel_date, count, page, max, channel=channel, date=date)} |
19 ${paginate_date()} |
8 % endif |
20 % endif |
9 <%include file="lines.tmpl" /> |
21 <%include file="lines.tmpl" /> |
10 % if page : |
22 % if page : |
11 ${paginate(urls.channel_date, count, page, max, channel=channel, date=date)} |
23 ${paginate_date()} |
12 % endif |
24 % endif |
13 |
25 |