liquid_feedback_frontend
annotate app/main/unit/_list.lua @ 280:808269b7f41c
More repositioning and optical enhancements
author | bsw |
---|---|
date | Thu Feb 16 14:08:55 2012 +0100 (2012-02-16) |
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 } |