Software /
code /
prosody-modules
Comparison
mod_http_muc_log/http_muc_log.html @ 3716:3db27b8f1cb0
mod_http_muc_log: Add button-link to webchat URL if one is set via mod_muc_webchat_url
This has been hacked in manually in a few deployments.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 13 Oct 2019 16:24:16 +0200 |
parent | 3715:f03a023cd523 |
child | 3717:4c7d27542161 |
comparison
equal
deleted
inserted
replaced
3715:f03a023cd523 | 3716:3db27b8f1cb0 |
---|---|
49 <h1 {lang&lang="{lang}"} title="xmpp:{jid?}">{title?{room.name?{jid_node}}{date& - {date}}}</h1> | 49 <h1 {lang&lang="{lang}"} title="xmpp:{jid?}">{title?{room.name?{jid_node}}{date& - {date}}}</h1> |
50 <nav> | 50 <nav> |
51 <ul> | 51 <ul> |
52 {jid_node& | 52 {jid_node& |
53 <li class="button"><a href="xmpp:{jid?}?join">Join using a client</a></li> | 53 <li class="button"><a href="xmpp:{jid?}?join">Join using a client</a></li> |
54 } | |
55 {room.webchat_url& | |
56 <li class="button"><a href="{room.webchat_url}">Join via web</a></li> | |
54 } | 57 } |
55 {links# | 58 {links# |
56 <li><a class="{item.rel?}" href="{item.href}{hide_presence&?p=h}" rel="{item.rel?}">{item.text}</a></li>} | 59 <li><a class="{item.rel?}" href="{item.href}{hide_presence&?p=h}" rel="{item.rel?}">{item.text}</a></li>} |
57 </ul> | 60 </ul> |
58 </nav> | 61 </nav> |