liquid_feedback_frontend

annotate 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
rev   line source
bsw@1045 1 if config.motd_public then
bsw/jbe@1309 2 ui.container{ attr = { class = "mdl-special-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
bsw/jbe@1309 3 ui.container{ attr = { class = "mdl-card__content" }, content = function()
bsw/jbe@1309 4 slot.put(config.motd_public)
bsw/jbe@1309 5 end }
bsw/jbe@1309 6 end }
bsw@1045 7 end
bsw@1693 8
bsw@1693 9 if not app.session.member and config.motd_only_public then
bsw@1693 10 ui.container{ attr = { class = "mdl-special-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
bsw@1693 11 ui.container{ attr = { class = "mdl-card__content" }, content = function()
bsw@1693 12 slot.put(config.motd_only_public)
bsw@1693 13 end }
bsw@1693 14 end }
bsw@1693 15 end

Impressum / About Us