liquid_feedback_frontend

annotate env/ui/sidebarHeadWhatCanIDo.lua @ 1283:37359fcc2bd9

Layout issue fixed
author bsw
date Mon Apr 18 09:49:05 2016 +0200 (2016-04-18)
parents 701a5cf6b067
children
rev   line source
bsw@1045 1 function ui.sidebarHeadWhatCanIDo ()
bsw@1045 2 ui.sidebarHead( function ()
bsw@1045 3 --ui.image{ attr = { class = "right icon24" }, static = "icons/48/info.png" }
bsw@1045 4 ui.heading {
bsw@1045 5 level = 2, content = _"What can I do here?"
bsw@1045 6 }
bsw@1045 7 end )
bsw@1045 8 if not app.session.member then
bsw@1045 9 ui.sidebarSection( function()
bsw@1045 10 ui.heading { level = 3, content = _"Closed user group" }
bsw@1045 11 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
bsw@1045 12 ui.tag { tag = "li", content = function ()
bsw@1045 13 ui.link {
bsw@1045 14 content = _"login to participate",
bsw@1045 15 module = "index", view = "login"
bsw@1045 16 }
bsw@1045 17 end }
bsw@1045 18 end }
bsw@1045 19 end )
bsw@1045 20 end
bsw@1045 21 end

Impressum / About Us