liquid_feedback_frontend
view app/main/index/_sidebar_motd_public.lua @ 1715:5ada43fc3f9b
Nicer wording
author | bsw |
---|---|
date | Mon Sep 27 12:41:07 2021 +0200 (2021-09-27) |
parents | f6ce58146d40 |
children |
line source
1 if config.motd_public then
2 ui.container{ attr = { class = "mdl-special-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
3 ui.container{ attr = { class = "mdl-card__content" }, content = function()
4 slot.put(config.motd_public)
5 end }
6 end }
7 end
9 if not app.session.member and config.motd_only_public then
10 ui.container{ attr = { class = "mdl-special-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
11 ui.container{ attr = { class = "mdl-card__content" }, content = function()
12 slot.put(config.motd_only_public)
13 end }
14 end }
15 end