liquid_feedback_frontend

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/env/ui/sidebarHeadWhatCanIDo.lua	Thu Jul 10 01:19:48 2014 +0200
     1.3 @@ -0,0 +1,21 @@
     1.4 +function ui.sidebarHeadWhatCanIDo ()
     1.5 +  ui.sidebarHead( function ()
     1.6 +    --ui.image{ attr = { class = "right icon24" }, static = "icons/48/info.png" }
     1.7 +    ui.heading {
     1.8 +      level = 2, content = _"What can I do here?"
     1.9 +    }
    1.10 +  end )
    1.11 +  if not app.session.member then
    1.12 +    ui.sidebarSection( function()
    1.13 +      ui.heading { level = 3, content = _"Closed user group" }
    1.14 +      ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
    1.15 +        ui.tag { tag = "li", content = function ()
    1.16 +          ui.link {
    1.17 +            content = _"login to participate",
    1.18 +            module = "index", view = "login"
    1.19 +          }
    1.20 +        end }
    1.21 +      end } 
    1.22 +    end )
    1.23 +  end
    1.24 +end

Impressum / About Us