liquid_feedback_frontend
annotate app/main/initiative/_sidebar_policies.lua @ 1050:c727fa9e723f
Added tag v3.0.0 for changeset 297d34ddd9dc
| author | jbe | 
|---|---|
| date | Thu Jul 10 02:43:17 2014 +0200 (2014-07-10) | 
| parents | 701a5cf6b067 | 
| children | 
| rev | line source | 
|---|---|
| bsw@1045 | 1 local area = param.get("area", "table") | 
| bsw@1045 | 2 | 
| bsw@1045 | 3 ui.sidebar ( "tab-whatcanido", function () | 
| bsw@1045 | 4 ui.sidebarHead( function() | 
| bsw@1045 | 5 ui.heading { level = 2, content = _"Available policies" } | 
| bsw@1045 | 6 end ) | 
| bsw@1045 | 7 execute.view { module = "policy", view = "_list", params = { | 
| bsw@1045 | 8 for_area = area | 
| bsw@1045 | 9 } } | 
| bsw@1045 | 10 end ) |