liquid_feedback_frontend
diff app/main/index/_sidebar_motd_intern_top.lua @ 1843:b01d9920371b
merge
author | jbe |
---|---|
date | Thu Feb 03 15:57:22 2022 +0100 (2022-02-03) |
parents | 0cfa0d088aa0 |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/app/main/index/_sidebar_motd_intern_top.lua Thu Feb 03 15:57:22 2022 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +if app.session.member and config.motd_intern_top then 1.5 + ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function() 1.6 + ui.container{ attr = { class = "mdl-card__content" }, content = function() 1.7 + ui.container{ 1.8 + attr = { class = "motd" }, 1.9 + content = function() 1.10 + slot.put(config.motd_intern_top) 1.11 + end 1.12 + } 1.13 + end } 1.14 + end } 1.15 +end