# HG changeset patch # User bsw # Date 1535618126 -7200 # Node ID 16695c98de239140ac9476e4a49aaeca0dae706f # Parent cd497eb8fd73b71922a60ac0148f3db08b2b243a Allow full replacement of registration confirmation page diff -r cd497eb8fd73 -r 16695c98de23 app/main/registration/register_completed.lua --- a/app/main/registration/register_completed.lua Sun Aug 26 13:40:28 2018 +0200 +++ b/app/main/registration/register_completed.lua Thu Aug 30 10:35:26 2018 +0200 @@ -4,14 +4,18 @@ ui.container{ attr = { class = "mdl-grid" }, content = function() ui.container{ attr = { class = "mdl-cell mdl-cell--12-col" }, content = function() - ui.heading{ content = _"Self registration completed" } - slot.put("
") - ui.container { content = _"We have sent you an invitation email to finish the account setup." } - slot.put("
") - ui.container { content = _"Please also check your SPAM folder." } - slot.put("
") - if config.self_registration.confirmation_extra_html then - slot.put(config.self_registration.confirmation_extra_html) + if config.self_registration.confirmation_html then + slot.put(config.self_registration.confirmation_html) + else + ui.heading{ content = _"Self registration completed" } + slot.put("
") + ui.container { content = _"We have sent you an invitation email to finish the account setup." } + slot.put("
") + ui.container { content = _"Please also check your SPAM folder." } + slot.put("
") + if config.self_registration.confirmation_extra_html then + slot.put(config.self_registration.confirmation_extra_html) + end end end }