liquid_feedback_frontend
annotate app/main/index/_sidebar_motd_public.lua @ 1695:97ff2a26c84e
Fixed area without unit in single_unit mode
| author | bsw | 
|---|---|
| date | Thu Sep 23 14:30:18 2021 +0200 (2021-09-23) | 
| 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 |