liquid_feedback_frontend

annotate app/main/unit/_head.lua @ 1309:32cc544d5a5b

Cumulative patch for upcoming frontend version 4
author bsw/jbe
date Sun Jul 15 14:07:29 2018 +0200 (2018-07-15)
parents 701a5cf6b067
children a3a7120a67be
rev   line source
bsw@525 1 local unit = param.get("unit", "table")
bsw@529 2
bsw@1045 3 ui.title ( function ()
bsw@525 4
bsw@1045 5 ui.tag{ attr = { class = "unit" }, content = function()
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 = unit.name }
bsw@1045 11 end,
bsw@1045 12 module = "unit", view = "show",
bsw@1045 13 id = unit.id
bsw@1045 14 }
bsw@525 15
bsw@1045 16 execute.view {
bsw@1045 17 module = "delegation", view = "_info", params = {
bsw@1045 18 unit = unit, member = member
bsw@526 19 }
bsw@1045 20 }
bsw@1045 21
bsw@1045 22 if config.single_unit_id and not app.session.member_id and config.motd_public then
bsw@1045 23 ui.container{
bsw@1045 24 attr = { class = "wiki motd" },
bsw@1045 25 content = function()
bsw@1045 26 slot.put(config.motd_public)
bsw@1045 27 end
bsw@526 28 }
bsw@526 29 end
bsw@525 30 end }
bsw@1045 31
bsw/jbe@1309 32 end )

Impressum / About Us