templates/channel_calendar.tmpl
changeset 58 ce028d356e1f
parent 55 5667d2bbdc50
child 85 0521cf830eb9
equal deleted inserted replaced
57:e123721e4b34 58:ce028d356e1f
     2 
     2 
     3 <%def name="month_table(cal, month, dates)">
     3 <%def name="month_table(cal, month, dates)">
     4 <table class="calendar">
     4 <table class="calendar">
     5 ## table header - month name
     5 ## table header - month name
     6     <tr class="month-header">
     6     <tr class="month-header">
     7         <th colspan="7">
     7         <th colspan="7"${' class="this-month"' if h.is_this_month(month) else ''}>
     8             <a href="${urls.channel_calendar.build(req, channel=channel, year=h.next_month_year(month), month=h.next_month(month))}" class="next-month">&raquo;</a>
     8             <a href="${urls.channel_calendar.build(req, channel=channel, year=h.next_month_year(month), month=h.next_month(month))}" class="next-month">&raquo;</a>
     9             <a href="${urls.channel_calendar.build(req, channel=channel, year=h.prev_month_year(month), month=h.prev_month(month))}" class="prev-month">&laquo;</a>
     9             <a href="${urls.channel_calendar.build(req, channel=channel, year=h.prev_month_year(month), month=h.prev_month(month))}" class="prev-month">&laquo;</a>
    10             <span id="month-name">${h.fmt_month(month)}</span>
    10             <span id="month-name">${h.fmt_month(month)}</span>
    11         </th>
    11         </th>
    12     </tr>
    12     </tr>