liquid_feedback_frontend
view app/main/index/_sidebar_motd_intern.lua @ 1716:0a3cce889a75
Different wording when logged in/not logged in
author | bsw |
---|---|
date | Mon Sep 27 12:43:08 2021 +0200 (2021-09-27) |
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