equal
deleted
inserted
replaced
190 |
190 |
191 # define the list redirect action to show the notification |
191 # define the list redirect action to show the notification |
192 del aa_params['list_key_order'] |
192 del aa_params['list_key_order'] |
193 aa_params['list_action'] = (redirects.getPublicRedirect, aa_params) |
193 aa_params['list_action'] = (redirects.getPublicRedirect, aa_params) |
194 aa_params['list_description'] = ugettext( |
194 aa_params['list_description'] = ugettext( |
195 "An overview of accepted org applications.") |
195 "An overview of accepted organization applications that have" |
|
196 " not yet created their organization profile. Students can" |
|
197 " only apply to organizations that created their organization" |
|
198 " profile.") |
196 |
199 |
197 aa_list = lists.getListContent(request, aa_params, filter, idx=0, |
200 aa_list = lists.getListContent(request, aa_params, filter, idx=0, |
198 need_content=True) |
201 need_content=True) |
199 |
202 |
200 if aa_list: |
203 if aa_list: |
205 from soc.views.models import organization as org_view |
208 from soc.views.models import organization as org_view |
206 ao_params = org_view.view.getParams().copy() # active orgs |
209 ao_params = org_view.view.getParams().copy() # active orgs |
207 |
210 |
208 ao_params['list_action'] = (redirects.getHomeRedirect, ao_params) |
211 ao_params['list_action'] = (redirects.getHomeRedirect, ao_params) |
209 ao_params['list_description'] = ugettext( |
212 ao_params['list_description'] = ugettext( |
210 "An overview of all organizations.") |
213 "An overview of all accepted organizations.") |
211 |
214 |
212 ao_list = lists.getListContent(request, ao_params, filter, idx=1, |
215 ao_list = lists.getListContent(request, ao_params, filter, idx=1, |
213 need_content=True) |
216 need_content=True) |
214 |
217 |
215 if ao_list: |
218 if ao_list: |