liquid_feedback_frontend
view app/main/area/_head.lua @ 1768:ff93478e2111
Fixed syntax error
author | bsw |
---|---|
date | Mon Oct 18 16:03:14 2021 +0200 (2021-10-18) |
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 )