liquid_feedback_frontend
view app/main/index/_sidebar_motd_intern.lua @ 1639:0f42dbf74270
Define function as local
| author | bsw | 
|---|---|
| date | Tue Feb 09 17:40:05 2021 +0100 (2021-02-09) | 
| 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
