liquid_feedback_frontend
diff app/main/unit/show.lua @ 795:7878f3c20a86
Fixed missing unit/area info and action links
author | bsw |
---|---|
date | Fri Jun 29 03:36:59 2012 +0200 (2012-06-29) |
parents | d6bc1e7a409f |
children | cf0b64e101d9 |
line diff
1.1 --- a/app/main/unit/show.lua Fri Jun 29 00:58:51 2012 +0200 1.2 +++ b/app/main/unit/show.lua Fri Jun 29 03:36:59 2012 +0200 1.3 @@ -3,7 +3,7 @@ 1.4 local unit = Unit:by_id(unit_id) 1.5 1.6 slot.select("head", function() 1.7 - execute.view{ module = "unit", view = "_head", params = { unit = unit, show_content = true } } 1.8 + execute.view{ module = "unit", view = "_head", params = { unit = unit, show_content = true, member = app.session.member } } 1.9 end) 1.10 1.11 if config.single_unit_id and not app.session.member_id and config.motd_public then 1.12 @@ -54,7 +54,7 @@ 1.13 label = _"Areas", 1.14 module = "area", 1.15 view = "_list", 1.16 - params = { areas_selector = areas_selector } 1.17 + params = { areas_selector = areas_selector, member = app.session.member } 1.18 } 1.19 1.20 tabs[#tabs+1] = {