annotate app/main/registration/register_manual_check_needed.lua @ 1546:ae194d0235c2
Set session cookie only if session is needed
| author |
bsw |
| date |
Thu Oct 22 11:57:23 2020 +0200 (2020-10-22) |
| parents |
39447c822336 |
| children |
|
| rev |
line source |
|
bsw/jbe@1309
|
1 ui.title(_"Self registration")
|
|
bsw/jbe@1309
|
2 app.html_title.title = _"Self registration"
|
|
bsw/jbe@1309
|
3
|
|
bsw/jbe@1309
|
4 ui.container{ attr = { class = "mdl-grid" }, content = function()
|
|
bsw/jbe@1309
|
5 ui.container{ attr = { class = "mdl-cell mdl-cell--12-col" }, content = function()
|
|
bsw/jbe@1309
|
6
|
|
bsw@1318
|
7 if config.self_registration.manual_verification_needed_text then
|
|
bsw@1318
|
8 slot.put(config.self_registration.manual_verification_needed_text)
|
|
bsw@1317
|
9 else
|
|
bsw@1317
|
10 ui.heading{ content = _"Manual verification needed" }
|
|
bsw@1317
|
11 slot.put("<br />")
|
|
bsw@1317
|
12 ui.container { content = function()
|
|
bsw@1317
|
13 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 " }
|
|
bsw@1317
|
14 ui.link{ content = _"browse the portal as an unregistered user", module = "index", view = "index" }
|
|
bsw@1317
|
15 ui.tag{ content = "." }
|
|
bsw@1317
|
16 slot.put("<br /><br />")
|
|
bsw@1317
|
17 ui.tag{ content = "For problems related to registration and use of the platform, please email " }
|
|
bsw@1317
|
18 ui.link{ external = "mailto:" .. config.self_registration.contact_email, content = config.self_registration.contact_email }
|
|
bsw@1317
|
19 ui.tag{ content = "." }
|
|
bsw@1317
|
20 end }
|
|
bsw@1317
|
21 slot.put("<br />")
|
|
bsw@1317
|
22 end
|
|
bsw@1317
|
23
|
|
bsw/jbe@1309
|
24 end }
|
|
bsw/jbe@1309
|
25 end }
|
|
bsw/jbe@1309
|
26
|