liquid_feedback_frontend
view app/main/index/_sidebar_motd_intern.lua @ 1554:61d8e264d163
Set attr default value for new unit
| author | bsw | 
|---|---|
| date | Wed Nov 04 17:41:20 2020 +0100 (2020-11-04) | 
| 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
