liquid_feedback_frontend
diff app/main/index/_member_home.lua @ 778:77aeeb16b7c7
Corrected text for unit/area view at member page
author | bsw |
---|---|
date | Fri Jun 29 00:00:59 2012 +0200 (2012-06-29) |
parents | a3eb6ca34484 |
children | 9c714f697e4e |
line diff
1.1 --- a/app/main/index/_member_home.lua Thu Jun 28 23:59:08 2012 +0200 1.2 +++ b/app/main/index/_member_home.lua Fri Jun 29 00:00:59 2012 +0200 1.3 @@ -90,9 +90,17 @@ 1.4 1.5 local more_area_text 1.6 if area_count == 0 and more_area_count == 1 then 1.7 - more_area_text = _("You are not participating in the only area of the unit") 1.8 + if app.session.member_id == member.id then 1.9 + more_area_text = _("You are not participating in the only area of the unit") 1.10 + else 1.11 + more_area_text = _("Member is not participating in the only area of the unit") 1.12 + end 1.13 elseif area_count == 0 and more_area_count > 0 then 1.14 - more_area_text = _("You are not participating in any of the #{count} areas in this unit", { count = more_area_count }) 1.15 + if app.session.member_id == member.id then 1.16 + more_area_text = _("You are not participating in any of the #{count} areas in this unit", { count = more_area_count }) 1.17 + else 1.18 + more_area_text = _("Member is not participating in any of the #{count} areas in this unit", { count = more_area_count }) 1.19 + end 1.20 elseif area_count > 0 and more_area_count == 1 then 1.21 more_area_text = _("One more area in this unit") 1.22 elseif area_count > 0 and more_area_count > 0 then