liquid_feedback_frontend
view app/main/area/_head.lua @ 1853:9c298b5832e7
Correctly determine own voting weight
author | bsw |
---|---|
date | Tue Mar 22 13:52:26 2022 +0100 (2022-03-22) |
parents | c2d51e2158f6 |
children |
line source
1 local area = param.get("area", "table")
3 ui.title ( function ()
5 if not app.single_unit_id then
6 -- unit link
7 ui.link {
8 attr = { class = "unit" },
9 content = function()
10 ui.tag{ attr = { class = "name" }, content = area.unit.name }
11 end,
12 module = "index", view = "index",
13 params = { unit = area.unit_id }
14 }
16 ui.tag { attr = { class = "spacer" }, content = function()
17 slot.put ( " ยป " )
18 end }
19 end
21 ui.tag{ content = area.name }
23 end )