Changeset

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
parents 4210:a0937b5cfdcb
children 4212:593fd9e0a435
files mod_invites_page/html/invite.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_invites_page/html/invite.html	Fri Oct 16 11:03:38 2020 +0100
+++ b/mod_invites_page/html/invite.html	Fri Oct 16 11:06:25 2020 +0100
@@ -58,7 +58,7 @@
 											{item.platforms#<span class="badge badge-info client-platform-badge client-platform-badge-{item|lower|classname} mr-1 mb-3">{item}</span> }
 										</div>
 										<p class="card-text">{item.text}</p>
-										<a href="{item.proceed_url?#}" class="btn btn-primary mt-md-auto">Install</a>
+										<a href="{item.proceed_url?#}" class="btn btn-primary mt-md-auto">{item.select_text?Select}</a>
 									</div>
 								</div>
 							</div>