liquid_feedback_frontend
view env/ui/sidebarHeadWhatCanIDo.lua @ 1045:701a5cf6b067
Imported LiquidFeedback Frontend 3.0 branch
author | bsw |
---|---|
date | Thu Jul 10 01:19:48 2014 +0200 (2014-07-10) |
parents | |
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