[% SET title = date.strftime("%B, %Y") %]
[% INCLUDE header title="Mails for the month of $title" %]
[% PROCESS macros %]
Mails for the month of [% title %]
[% INCLUDE searchbox %]
[% SET ym = date.strftime("%Y/%m") %]
[% SET url = "${base}/date/list/$ym" %]
[% MACRO print_day(day) BLOCK %]
[% END %]
[% MACRO cell(date, event) BLOCK %]
[% IF date; ""; ordinate(date); ""; IF event; " ($event)"; END; ELSE; ' '; END %]
|
[% END %]
See the whole of [% date.strftime("%Y") %]
[% FOR day = [ 'Sunday', 'Monday' , 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ] ; print_day(day); END -%]
[%- SET pad = 0 -%]
[%- SET counter = 0 -%]
[%- WHILE date.day_of_week > pad; pad = pad + 1; cell(0,0); END -%]
[%- WHILE days.size>0 %]
[% counter = counter + 1 %]
[%- IF pad==7 %]
[% pad = 0 -%]
[%- END -%]
[% cell(counter, days.shift) %]
[%- pad = pad + 1 -%]
[%- END -%]
[%- WHILE pad<7; pad = pad + 1; cell(0,0); END -%]
|
|
|
[% INCLUDE footer %]