liquid_feedback_frontend
view app/main/index/_sidebar_motd_public.lua @ 1839:7d000a357704
Added missing dependency
| author | bsw | 
|---|---|
| date | Thu Feb 03 15:54:57 2022 +0100 (2022-02-03) | 
| 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
