liquid_feedback_frontend

view app/main/registration/register_rejected_age.lua @ 1858:3d1f0464a3ea

Handle missing ldap.member.allowed function
author bsw
date Tue Sep 20 17:35:29 2022 +0200 (20 months ago)
parents a0d6c347ce7f
children
line source
1 ui.title(_"Self registration")
2 app.html_title.title = _"Self registration"
4 ui.container{ attr = { class = "mdl-grid" }, content = function()
5 ui.container{ attr = { class = "mdl-cell mdl-cell--12-col" }, content = function()
7 if config.self_registration.rejected_age_text then
8 slot.put(config.self_registration.rejected_age_text)
9 else
10 ui.heading{ content = _"Registration rejected" }
11 slot.put("<br />")
12 ui.container { content = function()
13 ui.tag { content = _"Sorry, but you need to be at least 16 years old to participate. You can " }
14 ui.link{ content = _"browse the platform as a guest", module = "index", view = "index" }
15 ui.tag{ content = "." }
16 end }
17 slot.put("<br />")
18 end
20 end }
21 end }

Impressum / About Us