Mercurial > prosody-modules
diff mod_http_muc_log/http_muc_log.html @ 3582:444e2306c99a
mod_http_muc_log: Add option to show OOB images
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 05 May 2019 14:06:50 +0200 |
parents | 907ccda3f0d2 |
children | da7ec4ed6ddf |
line wrap: on
line diff
--- a/mod_http_muc_log/http_muc_log.html Sun May 05 14:05:00 2019 +0200 +++ b/mod_http_muc_log/http_muc_log.html Sun May 05 14:06:50 2019 +0200 @@ -89,6 +89,7 @@ <b class="nick">{item.nick}</b> <em class="verb">{item.verb?}</em> <q class="body">{item.body?}</q> +{item.oob.url&<figure><a rel="nofollow" href="{item.oob.url?}"><img style="max-height:9em;max-width:16em" alt="{item.oob.desc?}" src="{item.oob.url?}"/></a><figcaption>{item.oob.desc?}</figcaption></figure>} </li>} </ol> </div>