liquid_feedback_frontend

view app/main/area/_head.lua @ 1601:7da942c0ed5d

Removed unused views
author bsw
date Mon Feb 01 12:58:17 2021 +0100 (2021-02-01)
parents c061fea7ed10
children a3a7120a67be
line source
1 local area = param.get("area", "table")
2 local member = param.get("member", "table")
4 ui.title ( function ()
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 unit = area.unit_id
14 }
16 ui.tag { attr = { class = "spacer" }, content = function()
17 slot.put ( " ยป " )
18 end }
20 ui.tag { attr = { class = "area" }, content = function()
21 -- area link
22 ui.link {
23 content = function()
24 ui.tag{ attr = { class = "name" }, content = area.name }
25 end,
26 module = "index", view = "index",
27 params = { unit = area.unit_id, area = area.id }
28 }
30 slot.put ( " " )
32 execute.view {
33 module = "delegation", view = "_info", params = {
34 area = area, member = member, for_title = true
35 }
36 }
37 end }
39 end )

Impressum / About Us