Mercurial > prosody-modules
diff 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 |
line wrap: on
line diff
--- a/mod_http_muc_log/http_muc_log.html Sun Nov 17 15:13:35 2019 +0100 +++ b/mod_http_muc_log/http_muc_log.html Sun Nov 17 15:16:23 2019 +0100 @@ -70,7 +70,7 @@ <dt {item.lang&lang="{item.lang}"} class="name"><a href="{item.href}{hide_presence&?p=h}">{item.name}</a></dt> <dd {item.lang&lang="{item.lang}"} class="description">{item.description?}</dd>} </dl> -{years# +{dates|calendarize# <h2 id="{item.year}">{item.year}</h2> {item.months# <table id="{item.month}-{item.year}">