liquid_feedback_frontend

annotate app/main/area/_head.lua @ 1045:701a5cf6b067

Imported LiquidFeedback Frontend 3.0 branch
author bsw
date Thu Jul 10 01:19:48 2014 +0200 (2014-07-10)
parents 3378ea16007f
children 32cc544d5a5b
rev   line source
bsw@525 1 local area = param.get("area", "table")
bsw@774 2 local member = param.get("member", "table")
bsw@525 3
bsw@1045 4 ui.title ( function ()
bsw@529 5
bsw@1045 6 -- unit link
bsw@1045 7 ui.link {
bsw@1045 8 attr = { class = "unit" },
bsw@1045 9 content = function()
bsw@1045 10 ui.tag{ attr = { class = "name" }, content = area.unit.name }
bsw@1045 11 end,
bsw@1045 12 module = "unit", view = "show",
bsw@1045 13 id = area.unit.id
bsw@1045 14 }
bsw@529 15
bsw@1045 16 ui.tag { attr = { class = "spacer" }, content = function()
bsw@1045 17 slot.put ( " ยป " )
bsw@1045 18 end }
bsw@525 19
bsw@1045 20 ui.tag { attr = { class = "area" }, content = function()
bsw@1045 21 -- area link
bsw@1045 22 ui.link {
bsw@1045 23 content = function()
bsw@1045 24 ui.tag{ attr = { class = "name" }, content = area.name }
bsw@1045 25 end,
bsw@1045 26 module = "area", view = "show",
bsw@1045 27 id = area.id
bsw@1045 28 }
bsw@1045 29
bsw@1045 30 slot.put ( " " )
bsw@525 31
bsw@1045 32 execute.view {
bsw@1045 33 module = "delegation", view = "_info", params = {
bsw@1045 34 area = area, member = member, for_title = true
bsw@1045 35 }
bsw@526 36 }
bsw@526 37 end }
bsw@526 38
bsw@1045 39 end )

Impressum / About Us