liquid_feedback_frontend
changeset 1415:16695c98de23
Allow full replacement of registration confirmation page
author | bsw |
---|---|
date | Thu Aug 30 10:35:26 2018 +0200 (2018-08-30) |
parents | cd497eb8fd73 |
children | b06da8ab308d |
files | app/main/registration/register_completed.lua |
line diff
1.1 --- a/app/main/registration/register_completed.lua Sun Aug 26 13:40:28 2018 +0200 1.2 +++ b/app/main/registration/register_completed.lua Thu Aug 30 10:35:26 2018 +0200 1.3 @@ -4,14 +4,18 @@ 1.4 ui.container{ attr = { class = "mdl-grid" }, content = function() 1.5 ui.container{ attr = { class = "mdl-cell mdl-cell--12-col" }, content = function() 1.6 1.7 - ui.heading{ content = _"Self registration completed" } 1.8 - slot.put("<br />") 1.9 - ui.container { content = _"We have sent you an invitation email to finish the account setup." } 1.10 - slot.put("<br />") 1.11 - ui.container { content = _"Please also check your SPAM folder." } 1.12 - slot.put("<br />") 1.13 - if config.self_registration.confirmation_extra_html then 1.14 - slot.put(config.self_registration.confirmation_extra_html) 1.15 + if config.self_registration.confirmation_html then 1.16 + slot.put(config.self_registration.confirmation_html) 1.17 + else 1.18 + ui.heading{ content = _"Self registration completed" } 1.19 + slot.put("<br />") 1.20 + ui.container { content = _"We have sent you an invitation email to finish the account setup." } 1.21 + slot.put("<br />") 1.22 + ui.container { content = _"Please also check your SPAM folder." } 1.23 + slot.put("<br />") 1.24 + if config.self_registration.confirmation_extra_html then 1.25 + slot.put(config.self_registration.confirmation_extra_html) 1.26 + end 1.27 end 1.28 1.29 end }