liquid_feedback_frontend
view 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 | 
 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 )
