liquid_feedback_frontend
annotate app/main/index/_sidebar_motd_public.lua @ 1836:1dad272c08eb
Reduce white space
| author | bsw | 
|---|---|
| date | Thu Feb 03 12:44:02 2022 +0100 (2022-02-03) | 
| 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 |