liquid_feedback_frontend

annotate app/main/area/_head.lua @ 1649:4188405c2425

Rework of suggestion views
author bsw
date Thu Feb 11 15:48:02 2021 +0100 (2021-02-11)
parents a3a7120a67be
children c2d51e2158f6
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@1045 5 -- unit link
bsw@1045 6 ui.link {
bsw@1045 7 attr = { class = "unit" },
bsw@1045 8 content = function()
bsw@1045 9 ui.tag{ attr = { class = "name" }, content = area.unit.name }
bsw@1045 10 end,
bsw@1594 11 module = "index", view = "index",
bsw@1602 12 params = { unit = area.unit_id }
bsw@1045 13 }
bsw@529 14
bsw@1045 15 ui.tag { attr = { class = "spacer" }, content = function()
bsw@1045 16 slot.put ( " ยป " )
bsw@1045 17 end }
bsw@525 18
bsw@1602 19 ui.tag{ content = area.name }
bsw@526 20
bsw/jbe@1309 21 end )

Impressum / About Us