liquid_feedback_frontend
view env/ui/sidebarHeadWhatCanIDo.lua @ 1404:f99e7df399e6
Text case change
| author | bsw | 
|---|---|
| date | Mon Aug 13 19:52:00 2018 +0200 (2018-08-13) | 
| 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
