Mercurial > prosody-modules
comparison mod_http_muc_log/http_muc_log.html @ 3750:9002c8a2165f
mod_http_muc_log: Refactor calendarization of date list into a template filter BC
This breaks any custom templates using the calendar data structure.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 17 Nov 2019 15:16:23 +0100 |
parents | cc6f7e2e4a59 |
children | f6542e51b741 |
comparison
equal
deleted
inserted
replaced
3749:cb61f0e06de3 | 3750:9002c8a2165f |
---|---|
68 <dl class="room-list"> | 68 <dl class="room-list"> |
69 {rooms# | 69 {rooms# |
70 <dt {item.lang&lang="{item.lang}"} class="name"><a href="{item.href}{hide_presence&?p=h}">{item.name}</a></dt> | 70 <dt {item.lang&lang="{item.lang}"} class="name"><a href="{item.href}{hide_presence&?p=h}">{item.name}</a></dt> |
71 <dd {item.lang&lang="{item.lang}"} class="description">{item.description?}</dd>} | 71 <dd {item.lang&lang="{item.lang}"} class="description">{item.description?}</dd>} |
72 </dl> | 72 </dl> |
73 {years# | 73 {dates|calendarize# |
74 <h2 id="{item.year}">{item.year}</h2> | 74 <h2 id="{item.year}">{item.year}</h2> |
75 {item.months# | 75 {item.months# |
76 <table id="{item.month}-{item.year}"> | 76 <table id="{item.month}-{item.year}"> |
77 <caption>{item.month}</caption> | 77 <caption>{item.month}</caption> |
78 <thead><tr><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th></tr></thead> | 78 <thead><tr><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th></tr></thead> |