liquid_feedback_frontend

view env/ui/sidebarHeadWhatCanIDo.lua @ 1500:71f54c43d7cb

Added API support interface
author bsw
date Tue Mar 24 16:59:32 2020 +0100 (2020-03-24)
parents 701a5cf6b067
children
line source
1 function ui.sidebarHeadWhatCanIDo ()
2 ui.sidebarHead( function ()
3 --ui.image{ attr = { class = "right icon24" }, static = "icons/48/info.png" }
4 ui.heading {
5 level = 2, content = _"What can I do here?"
6 }
7 end )
8 if not app.session.member then
9 ui.sidebarSection( function()
10 ui.heading { level = 3, content = _"Closed user group" }
11 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
12 ui.tag { tag = "li", content = function ()
13 ui.link {
14 content = _"login to participate",
15 module = "index", view = "login"
16 }
17 end }
18 end }
19 end )
20 end
21 end

Impressum / About Us