liquid_feedback_frontend
view app/main/index/_sidebar_motd_intern.lua @ 1309:32cc544d5a5b
Cumulative patch for upcoming frontend version 4
author | bsw/jbe |
---|---|
date | Sun Jul 15 14:07:29 2018 +0200 (2018-07-15) |
parents | 701a5cf6b067 |
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