comparison mod_invites_page/html/client.html @ 4881:09b8144051ea

mod_invites_page: Fix templates including stray inviter name (thanks Menel) The util.interpolation syntax `{var?placeholder}` appears to have been intended as an if-not, but this syntax will always return either the variable or the placeholder-template.
author Kim Alvefur <zash@zash.se>
date Wed, 02 Feb 2022 11:22:50 +0100
parents 36795f773faf
children 8cd617c0b701
comparison
equal deleted inserted replaced
4880:f64d13d9b76b 4881:09b8144051ea
29 data-toggle="modal" data-target="#qr-modal"> 29 data-toggle="modal" data-target="#qr-modal">
30 <img src="{static}/qr-logo.png" alt="QR code icon" class="align-middle h-50 mt-1" style="display:inline" > 30 <img src="{static}/qr-logo.png" alt="QR code icon" class="align-middle h-50 mt-1" style="display:inline" >
31 Scan with mobile device 31 Scan with mobile device
32 </button> 32 </button>
33 </div> 33 </div>
34
35 {inviter?<p>You have been invited to chat on {site_name} using XMPP,
36 a secure and decentralized messaging network.</p>}
37 34
38 {inviter&<p>You have been invited to chat with {inviter} on {site_name}, 35 <p>You have been invited to chat {inviter&with {inviter} }on {site_name},
39 part of the XMPP secure and decentralized messaging network.</p>} 36 part of the XMPP secure and decentralized messaging network.</p>
40 37
41 <p>You can start chatting right away with {app.name}. Let's get started!</p> 38 <p>You can start chatting right away with {app.name}. Let's get started!</p>
42 39
43 <div class="card m-3 client-card {app.platforms#app-platform-{item|lower|classname} } flex-wrap col-sm-12 col-md-8 col-lg-5"> 40 <div class="card m-3 client-card {app.platforms#app-platform-{item|lower|classname} } flex-wrap col-sm-12 col-md-8 col-lg-5">
44 <div class="row no-gutters h-100"> 41 <div class="row no-gutters h-100">