liquid_feedback_frontend

diff app/main/issue/_show.lua @ 551:c1dc3b14a4f3

Initiative and initiative member_info preloading
author bsw
date Fri Jun 15 19:00:43 2012 +0200 (2012-06-15)
parents 65ddf5998458
children 565bcc56ea30
line diff
     1.1 --- a/app/main/issue/_show.lua	Tue May 29 20:52:49 2012 +0200
     1.2 +++ b/app/main/issue/_show.lua	Fri Jun 15 19:00:43 2012 +0200
     1.3 @@ -94,7 +94,7 @@
     1.4        slot.put(" · ")
     1.5      end
     1.6  
     1.7 -    if not issue.closed then
     1.8 +    if not issue.closed and app.session.member_id then
     1.9        if issue.member_info.own_delegation_scope ~= "issue" then
    1.10          ui.link{ text = _"Delegate issue", module = "delegation", view = "show", params = { issue_id = issue.id } }
    1.11        else
    1.12 @@ -181,9 +181,8 @@
    1.13          issue = issue,
    1.14          initiatives_selector = initiatives_selector,
    1.15          highlight_string = highlight_string,
    1.16 -        per_page = initiative_limit,
    1.17          no_sort = true,
    1.18 -        limit = initiative_limit,
    1.19 +        limit = 5,
    1.20          for_member = for_member
    1.21        }
    1.22      }

Impressum / About Us