liquid_feedback_frontend
diff app/main/interest/_show_box.lua @ 281:b77e6a17ca77
Check unit voting right where neccessary, hide action buttons for units without voting right
| author | bsw |
|---|---|
| date | Thu Feb 16 15:01:49 2012 +0100 (2012-02-16) |
| parents | bde068b37608 |
| children | f8481330f4c2 |
line diff
1.1 --- a/app/main/interest/_show_box.lua Thu Feb 16 14:08:55 2012 +0100 1.2 +++ b/app/main/interest/_show_box.lua Thu Feb 16 15:01:49 2012 +0100 1.3 @@ -34,7 +34,7 @@ 1.4 end 1.5 end 1.6 } 1.7 - else 1.8 + elseif app.session.member:has_voting_right_for_unit_id(issue.area.unit_id) then 1.9 if not issue.closed and not issue.fully_frozen then 1.10 ui.link{ 1.11 image = { static = "icons/16/user_add.png" },