liquid_feedback_frontend
view app/main/area/_head.lua @ 1622:72442abafb3c
Allow delegations when initiative right is given
| author | bsw | 
|---|---|
| date | Sat Feb 06 23:30:20 2021 +0100 (2021-02-06) | 
| parents | a3a7120a67be | 
| children | c2d51e2158f6 | 
 line source
     1 local area = param.get("area", "table")
     3 ui.title ( function ()
     5   -- unit link
     6   ui.link {
     7     attr = { class = "unit" },
     8     content = function()
     9       ui.tag{ attr = { class = "name" }, content = area.unit.name }
    10     end,
    11     module = "index", view = "index",
    12     params = { unit = area.unit_id }
    13   }
    15   ui.tag { attr = { class = "spacer" }, content = function()
    16     slot.put ( " ยป " )
    17   end }
    19   ui.tag{ content = area.name }
    21 end )
