liquid_feedback_frontend
view app/main/index/_sidebar_motd_intern.lua @ 1518:9514b3c04ccb
Fixed module name
| author | bsw | 
|---|---|
| date | Thu Aug 20 14:36:56 2020 +0200 (2020-08-20) | 
| parents | 32cc544d5a5b | 
| children | 
 line source
     1 if config.motd_intern then
     2   ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
     3     ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function()
     4       ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = _"Message of the day" }
     5     end }
     6     ui.container{ attr = { class = "mdl-card__content what-can-i-do-here" }, content = function()
     7       ui.container{
     8         attr = { class = "wiki motd" },
     9         content = function()
    10           slot.put(config.motd_intern)
    11         end
    12       }
    13     end }
    14   end }
    15 end
