diff -r e163794ccf54 -r 154d2d8ae9c0 templates/channel_calendar.tmpl --- a/templates/channel_calendar.tmpl Sun Sep 13 18:57:48 2009 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,69 +0,0 @@ -<%inherit file="channel.tmpl" /> - -<%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 -
- % if is_center : - » - « - - - % else : - ${h.fmt_month(month)} - % endif - | -||||||
---|---|---|---|---|---|---|
${h.fmt_weekday(weekday)} | - % endfor -||||||
- % else : - ## build date - <% date = h.build_date(month, day) %>\ - ## render cell - | \ - ## link to logs for this day? - % if date.date() in log_dates : -${day}\ - % else : -${day}\ - % endif - | - % endif - % endfor -