diff -r 090192b64d7e -r 9fc0eb751b6a templates/channel_calendar.tmpl --- a/templates/channel_calendar.tmpl Wed Feb 11 22:56:43 2009 +0200 +++ b/templates/channel_calendar.tmpl Wed Feb 11 23:22:13 2009 +0200 @@ -1,6 +1,6 @@ <%inherit file="channel.tmpl" /> -<%def name="month_table(month)"> +<%def name="month_table(month, is_center=True)"> ## the set of available days <% log_dates = h.set(channel.source.get_month_days(month)) %> ## the calendar table @@ -8,9 +8,22 @@ ## table header - month name - » - « + % if is_center : + » + « + +
+ + + +
+ % else : ${h.fmt_month(month)} + % endif ## month header - weekday names @@ -47,7 +60,7 @@ ## three months -${month_table(h.prev_month(month))} -${month_table(month )} -${month_table(h.next_month(month))} +${month_table(h.prev_month(month), is_center=False )} +${month_table(month, is_center=True )} +${month_table(h.next_month(month), is_center=False )}