liquid_feedback_frontend

view app/main/area/_head.lua @ 1716:0a3cce889a75

Different wording when logged in/not logged in
author bsw
date Mon Sep 27 12:43:08 2021 +0200 (2021-09-27)
parents c2d51e2158f6
children
line source
1 local area = param.get("area", "table")
3 ui.title ( function ()
5 if not app.single_unit_id then
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 params = { unit = area.unit_id }
14 }
16 ui.tag { attr = { class = "spacer" }, content = function()
17 slot.put ( " ยป " )
18 end }
19 end
21 ui.tag{ content = area.name }
23 end )

Impressum / About Us