liquid_feedback_frontend
annotate app/main/area/_head.lua @ 1749:c723f01a092f
Fixed mdl class name
| author | bsw | 
|---|---|
| date | Mon Oct 11 10:58:53 2021 +0200 (2021-10-11) | 
| 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 ) |