Diff

mod_http_muc_log/http_muc_log.html @ 3597:da7ec4ed6ddf

mod_http_muc_log: Hide join/part controls if they are not stored by mod_muc_mam
author Kim Alvefur <zash@zash.se>
date Thu, 16 May 2019 07:46:05 +0200
parent 3582:444e2306c99a
child 3645:413ea67597d2
line wrap: on
line diff
--- a/mod_http_muc_log/http_muc_log.html	Mon May 13 00:52:35 2019 +0200
+++ b/mod_http_muc_log/http_muc_log.html	Thu May 16 07:46:05 2019 +0200
@@ -72,7 +72,7 @@
 </nav>
 
 <div>
-<form>
+{presence_available&<form>
 <label>
 <input name="p" value="h" type="checkbox"{hide_presence& checked}>
 <span>Hide joins and parts</span>
@@ -80,7 +80,7 @@
 <noscript>
 <button type="submit">Apply</button>
 </noscript>
-</form>
+</form>}
 </div>
 
 <ol class="chat-logs">{lines#