Mercurial > prosody-modules
comparison mod_invites_page/html/invite.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 | 0f26ae2f2a74 |
children | 8cd617c0b701 |
comparison
equal
deleted
inserted
replaced
4880:f64d13d9b76b | 4881:09b8144051ea |
---|---|
30 data-toggle="modal" data-target="#qr-modal"> | 30 data-toggle="modal" data-target="#qr-modal"> |
31 <img src="{static}/qr-logo.png" alt="QR code icon" class="align-middle h-50 mt-1" style="display:inline" > | 31 <img src="{static}/qr-logo.png" alt="QR code icon" class="align-middle h-50 mt-1" style="display:inline" > |
32 Scan with mobile device | 32 Scan with mobile device |
33 </button> | 33 </button> |
34 </div> | 34 </div> |
35 | |
36 {inviter?<p>You have been invited to chat on {site_name} using XMPP, | |
37 a secure and decentralized messaging network.</p>} | |
38 | 35 |
39 {inviter&<p>You have been invited to chat with {inviter} on {site_name}, | 36 <p>You have been invited to chat {inviter&with {inviter} }on {site_name}, |
40 part of the XMPP secure and decentralized messaging network.</p>} | 37 part of the XMPP secure and decentralized messaging network.</p> |
41 | 38 |
42 <h5 class="card-title" style="clear:both">Get started</h5> | 39 <h5 class="card-title" style="clear:both">Get started</h5> |
43 | 40 |
44 <p>To get started, you need to install an app for your platform:</p> | 41 <p>To get started, you need to install an app for your platform:</p> |
45 | 42 |