liquid_feedback_frontend
view app/main/index/_sidebar_motd_public.lua @ 1694:bca6a066d429
Fixed area without unit in single_unit mode
author | bsw |
---|---|
date | Thu Sep 23 14:29:39 2021 +0200 (2021-09-23) |
parents | f6ce58146d40 |
children |
line source
1 if config.motd_public then
2 ui.container{ attr = { class = "mdl-special-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
3 ui.container{ attr = { class = "mdl-card__content" }, content = function()
4 slot.put(config.motd_public)
5 end }
6 end }
7 end
9 if not app.session.member and config.motd_only_public then
10 ui.container{ attr = { class = "mdl-special-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
11 ui.container{ attr = { class = "mdl-card__content" }, content = function()
12 slot.put(config.motd_only_public)
13 end }
14 end }
15 end