liquid_feedback_frontend
annotate app/main/index/_sidebar_motd_public.lua @ 1858:3d1f0464a3ea
Handle missing ldap.member.allowed function
author | bsw |
---|---|
date | Tue Sep 20 17:35:29 2022 +0200 (2022-09-20) |
parents | f6ce58146d40 |
children |
rev | line source |
---|---|
bsw@1045 | 1 if config.motd_public then |
bsw/jbe@1309 | 2 ui.container{ attr = { class = "mdl-special-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function() |
bsw/jbe@1309 | 3 ui.container{ attr = { class = "mdl-card__content" }, content = function() |
bsw/jbe@1309 | 4 slot.put(config.motd_public) |
bsw/jbe@1309 | 5 end } |
bsw/jbe@1309 | 6 end } |
bsw@1045 | 7 end |
bsw@1693 | 8 |
bsw@1693 | 9 if not app.session.member and config.motd_only_public then |
bsw@1693 | 10 ui.container{ attr = { class = "mdl-special-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function() |
bsw@1693 | 11 ui.container{ attr = { class = "mdl-card__content" }, content = function() |
bsw@1693 | 12 slot.put(config.motd_only_public) |
bsw@1693 | 13 end } |
bsw@1693 | 14 end } |
bsw@1693 | 15 end |