liquid_feedback_frontend

changeset 1702:4ddc5841e136

Added MOTD top internal
author bsw
date Mon Sep 27 10:57:00 2021 +0200 (2021-09-27)
parents c2d51e2158f6
children 5eb8b596f7d4
files app/main/index/_sidebar_motd_intern_top.lua app/main/index/index.lua
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
     2.1 --- a/app/main/index/index.lua	Thu Sep 23 18:16:06 2021 +0200
     2.2 +++ b/app/main/index/index.lua	Mon Sep 27 10:57:00 2021 +0200
     2.3 @@ -46,6 +46,8 @@
     2.4  
     2.5      execute.view{ module = "index", view = "_sidebar_motd_public" }
     2.6  
     2.7 +    execute.view{ module = "index", view = "_sidebar_motd_intern_top" }
     2.8 +
     2.9      execute.view{ module = "issue", view = "_list" }
    2.10    end }
    2.11  

Impressum / About Us