# HG changeset patch
# User bsw
# Date 1533138566 -7200
# Node ID 8d0a49d5ed7e3260dd7063800a4366a05320c606
# Parent 186a172c8b9ed85a20befb880a8154fb4e3eaeed
Configureable text when manual verification needed
diff -r 186a172c8b9e -r 8d0a49d5ed7e app/main/registration/register_manual_check_needed.lua
--- a/app/main/registration/register_manual_check_needed.lua Wed Aug 01 17:46:20 2018 +0200
+++ b/app/main/registration/register_manual_check_needed.lua Wed Aug 01 17:49:26 2018 +0200
@@ -4,19 +4,23 @@
ui.container{ attr = { class = "mdl-grid" }, content = function()
ui.container{ attr = { class = "mdl-cell mdl-cell--12-col" }, content = function()
- ui.heading{ content = _"Manual verification needed" }
- slot.put("
")
- ui.container { content = function()
- ui.tag{ content = "We are sorry but the automatic verification of personal data has not been successful. We will need to verify your information manually. We apologise for the wait, and thank you for your cooperation. Until your information is verified, you can continue to " }
- ui.link{ content = _"browse the portal as an unregistered user", module = "index", view = "index" }
- ui.tag{ content = "." }
- slot.put("
")
- ui.tag{ content = "For problems related to registration and use of the platform, please email " }
- ui.link{ external = "mailto:" .. config.self_registration.contact_email, content = config.self_registration.contact_email }
- ui.tag{ content = "." }
- end }
- slot.put("
")
-
+ if config.self.registration.manual_verification_needed_text then
+ slot.put(config.self.registration.manual_verification_needed_text)
+ else
+ ui.heading{ content = _"Manual verification needed" }
+ slot.put("
")
+ ui.container { content = function()
+ ui.tag{ content = "We are sorry but the automatic verification of personal data has not been successful. We will need to verify your information manually. We apologise for the wait, and thank you for your cooperation. Until your information is verified, you can continue to " }
+ ui.link{ content = _"browse the portal as an unregistered user", module = "index", view = "index" }
+ ui.tag{ content = "." }
+ slot.put("
")
+ ui.tag{ content = "For problems related to registration and use of the platform, please email " }
+ ui.link{ external = "mailto:" .. config.self_registration.contact_email, content = config.self_registration.contact_email }
+ ui.tag{ content = "." }
+ end }
+ slot.put("
")
+ end
+
end }
end }