liquid_feedback_frontend
annotate app/main/area/_head.lua @ 1859:02c34183b6df
Fixed wrong filename in INSTALL file
author | bsw |
---|---|
date | Tue Nov 28 18:54:51 2023 +0100 (17 months ago) |
parents | c2d51e2158f6 |
children |
rev | line source |
---|---|
bsw@525 | 1 local area = param.get("area", "table") |
bsw@525 | 2 |
bsw@1045 | 3 ui.title ( function () |
bsw@529 | 4 |
bsw@1699 | 5 if not app.single_unit_id then |
bsw@1699 | 6 -- unit link |
bsw@1699 | 7 ui.link { |
bsw@1699 | 8 attr = { class = "unit" }, |
bsw@1699 | 9 content = function() |
bsw@1699 | 10 ui.tag{ attr = { class = "name" }, content = area.unit.name } |
bsw@1699 | 11 end, |
bsw@1699 | 12 module = "index", view = "index", |
bsw@1699 | 13 params = { unit = area.unit_id } |
bsw@1699 | 14 } |
bsw@529 | 15 |
bsw@1699 | 16 ui.tag { attr = { class = "spacer" }, content = function() |
bsw@1699 | 17 slot.put ( " ยป " ) |
bsw@1699 | 18 end } |
bsw@1699 | 19 end |
bsw@525 | 20 |
bsw@1602 | 21 ui.tag{ content = area.name } |
bsw@526 | 22 |
bsw/jbe@1309 | 23 end ) |