liquid_feedback_frontend

annotate app/main/member/_event_list.lua @ 969:c23a25f38c44

Added missing share lock on issue to initiative creation action
author bsw
date Sat Mar 09 19:05:56 2013 +0100 (2013-03-09)
parents 7dc5ab12bfe3
children
rev   line source
bsw@414 1 local member = param.get("member", "table")
bsw@414 2 local events = param.get_all_cgi()["events"] or "personal"
bsw@414 3
bsw@619 4 ui.container{ attr = { class = "ui_filter" }, content = function()
bsw@619 5 ui.container{ attr = { class = "ui_filter_head" }, content = function()
bsw@414 6
bsw@619 7 ui.link{
bsw@619 8 attr = { class = events == "personal" and "ui_tabs_link active" or nil },
bsw@619 9 text = _"My areas and issues",
bsw@619 10 module = "index", view = "index", params = { tab = "timeline", events = "personal" }
bsw@619 11 }
bsw@619 12
bsw@619 13 slot.put(" ")
bsw@414 14
bsw@619 15 ui.link{
bsw@619 16 attr = { class = events == "global" and "active" or nil },
bsw@619 17 text = _"Everything",
bsw@619 18 module = "index", view = "index", params = { tab = "timeline", events = "global" }
bsw@619 19 }
bsw@619 20 end }
bsw@414 21 end }
bsw@414 22
bsw@414 23 if events == "personal" then
bsw@414 24 execute.view{
bsw@414 25 module = "event", view = "_list"
bsw@414 26 }
bsw@414 27 elseif events == "global" then
bsw@414 28 execute.view{
bsw@414 29 module = "event", view = "_list", params = { global = true }
bsw@414 30 }
bsw@414 31 end

Impressum / About Us