liquid_feedback_frontend
changeset 1594:c061fea7ed10
Fixed links from area head
author | bsw |
---|---|
date | Sun Jan 31 19:52:31 2021 +0100 (2021-01-31) |
parents | 2dc0ea4cdb4a |
children | ec0d69b4bb20 |
files | app/main/area/_head.lua |
line diff
1.1 --- a/app/main/area/_head.lua Sun Jan 31 19:25:41 2021 +0100 1.2 +++ b/app/main/area/_head.lua Sun Jan 31 19:52:31 2021 +0100 1.3 @@ -9,8 +9,8 @@ 1.4 content = function() 1.5 ui.tag{ attr = { class = "name" }, content = area.unit.name } 1.6 end, 1.7 - module = "unit", view = "show", 1.8 - id = area.unit.id 1.9 + module = "index", view = "index", 1.10 + unit = area.unit_id 1.11 } 1.12 1.13 ui.tag { attr = { class = "spacer" }, content = function() 1.14 @@ -23,8 +23,8 @@ 1.15 content = function() 1.16 ui.tag{ attr = { class = "name" }, content = area.name } 1.17 end, 1.18 - module = "area", view = "show", 1.19 - id = area.id 1.20 + module = "index", view = "index", 1.21 + params = { unit = area.unit_id, area = area.id } 1.22 } 1.23 1.24 slot.put ( " " )