liquid_feedback_frontend

annotate app/main/unit/_list.lua @ 282:7f41f3c44fae

Changes in policy admin interface for core 2.0
author bsw
date Fri Feb 17 10:20:26 2012 +0100 (2012-02-17)
parents f460555c9896
children c587d8762e62
rev   line source
bsw@276 1 local units = Unit:get_flattened_tree{ active = true }
bsw@276 2
bsw@276 3 ui.list{
bsw@276 4 records = units,
bsw@276 5 columns = {
bsw@276 6 {
bsw@276 7 content = function(unit)
bsw@276 8 ui.link{ text = unit.name, module = "area", view = "list", params = { unit_id = unit.id } }
bsw@276 9 end
bsw@276 10 }
bsw@276 11 }
bsw@276 12 }

Impressum / About Us