liquid_feedback_frontend
diff app/main/index/_sidebar_motd_public.lua @ 1843:b01d9920371b
merge
author | jbe |
---|---|
date | Thu Feb 03 15:57:22 2022 +0100 (2022-02-03) |
parents | f6ce58146d40 |
children |
line diff
1.1 --- a/app/main/index/_sidebar_motd_public.lua Thu Feb 03 15:54:23 2022 +0100 1.2 +++ b/app/main/index/_sidebar_motd_public.lua Thu Feb 03 15:57:22 2022 +0100 1.3 @@ -5,3 +5,11 @@ 1.4 end } 1.5 end } 1.6 end 1.7 + 1.8 +if not app.session.member and config.motd_only_public then 1.9 + ui.container{ attr = { class = "mdl-special-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function() 1.10 + ui.container{ attr = { class = "mdl-card__content" }, content = function() 1.11 + slot.put(config.motd_only_public) 1.12 + end } 1.13 + end } 1.14 +end