liquid_feedback_frontend

diff app/main/index/_sidebar_motd_intern_top.lua @ 1702:4ddc5841e136

Added MOTD top internal
author bsw
date Mon Sep 27 10:57:00 2021 +0200 (2021-09-27)
parents
children 0cfa0d088aa0
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	Mon Sep 27 10:57:00 2021 +0200
     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 = "draft 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

Impressum / About Us