liquid_feedback_frontend

annotate app/main/area/_head.lua @ 1719:9b8dc1828f1f

If only one policy is available, choose it automatically
author bsw
date Mon Sep 27 13:07:56 2021 +0200 (2021-09-27)
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 )

Impressum / About Us