liquid_feedback_frontend

diff app/main/interest/_show_box.lua @ 551:c1dc3b14a4f3

Initiative and initiative member_info preloading
author bsw
date Fri Jun 15 19:00:43 2012 +0200 (2012-06-15)
parents 5ca9de94cb13
children
line diff
     1.1 --- a/app/main/interest/_show_box.lua	Tue May 29 20:52:49 2012 +0200
     1.2 +++ b/app/main/interest/_show_box.lua	Fri Jun 15 19:00:43 2012 +0200
     1.3 @@ -2,10 +2,7 @@
     1.4  local issue = param.get("issue", "table")
     1.5  local initiative = param.get("initiative", "table")
     1.6  
     1.7 -local interest = Interest:by_pk(issue.id, app.session.member.id)
     1.8 -local membership = Membership:by_pk(issue.area_id, app.session.member_id)
     1.9 -
    1.10 -if interest then
    1.11 +if issue.member_info.own_participation then
    1.12  
    1.13    if issue.closed then
    1.14      ui.tag{ content = _"You were interested" }

Impressum / About Us