liquid_feedback_frontend
view app/main/area/_head.lua @ 1532:3c15fea3f1c0
Added FirstLife group mirroring
author | bsw |
---|---|
date | Sun Oct 04 16:31:47 2020 +0200 (2020-10-04) |
parents | 32cc544d5a5b |
children | c061fea7ed10 |
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 = "unit", view = "show",
13 id = 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 = "area", view = "show",
27 id = 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 )