Comparison

mod_invites_page/html/invite.html @ 4211:0f26ae2f2a74

mod_invites_page: Change client selection button text from 'Install' to 'Select' by default This also allows specific clients entries to override the text via the 'select_text' field. Rationale: 1) users may already have the software installed, we still want them to select it anyway for the tailored setup experience. 2) some clients (e.g. web clients) are not really "installed" so the text was misleading
author Matthew Wild <mwild1@gmail.com>
date Fri, 16 Oct 2020 11:06:25 +0100
parent 4210:a0937b5cfdcb
child 4881:09b8144051ea
comparison
equal deleted inserted replaced
4210:a0937b5cfdcb 4211:0f26ae2f2a74
56 <h5 class="card-title text-nowrap mb-1">{item.name}</h5> 56 <h5 class="card-title text-nowrap mb-1">{item.name}</h5>
57 <div> 57 <div>
58 {item.platforms#<span class="badge badge-info client-platform-badge client-platform-badge-{item|lower|classname} mr-1 mb-3">{item}</span> } 58 {item.platforms#<span class="badge badge-info client-platform-badge client-platform-badge-{item|lower|classname} mr-1 mb-3">{item}</span> }
59 </div> 59 </div>
60 <p class="card-text">{item.text}</p> 60 <p class="card-text">{item.text}</p>
61 <a href="{item.proceed_url?#}" class="btn btn-primary mt-md-auto">Install</a> 61 <a href="{item.proceed_url?#}" class="btn btn-primary mt-md-auto">{item.select_text?Select}</a>
62 </div> 62 </div>
63 </div> 63 </div>
64 </div> 64 </div>
65 </div> 65 </div>
66 } 66 }