equal
deleted
inserted
replaced
153 uh_params = params.copy() |
153 uh_params = params.copy() |
154 uh_params['list_action'] = (self.inviteAcceptedRedirect, None) |
154 uh_params['list_action'] = (self.inviteAcceptedRedirect, None) |
155 uh_params['list_description'] = ugettext_lazy( |
155 uh_params['list_description'] = ugettext_lazy( |
156 "An overview of your unhandled requests") |
156 "An overview of your unhandled requests") |
157 |
157 |
158 uh_list = helper.lists.getListContent(request, uh_params, self._logic, filter) |
158 uh_list = helper.lists.getListContent(request, uh_params, self._logic, filter, 0) |
159 |
159 |
160 # construct the Open Requests list |
160 # construct the Open Requests list |
161 |
161 |
162 # only select the requests for the user |
162 # only select the requests for the user |
163 # that haven't been accepted by an admin yet |
163 # that haven't been accepted by an admin yet |
166 |
166 |
167 ar_params = params.copy() |
167 ar_params = params.copy() |
168 ar_params['list_description'] = ugettext_lazy( |
168 ar_params['list_description'] = ugettext_lazy( |
169 "An overview of your requests, that haven't been handled by an admin yet") |
169 "An overview of your requests, that haven't been handled by an admin yet") |
170 |
170 |
171 ar_list = helper.lists.getListContent(request, ar_params, self._logic, filter) |
171 ar_list = helper.lists.getListContent(request, ar_params, self._logic, filter, 1) |
172 |
172 |
173 # fill contents with all the needed lists |
173 # fill contents with all the needed lists |
174 contents = [uh_list,ar_list] |
174 contents = [uh_list,ar_list] |
175 |
175 |
176 # call the _list method from base to display the list |
176 # call the _list method from base to display the list |