162 |
162 |
163 if entity.status == 'invisible': |
163 if entity.status == 'invisible': |
164 # still add the document links so hosts can see how it looks like |
164 # still add the document links so hosts can see how it looks like |
165 items += document_view.view.getMenusForScope(entity, params) |
165 items += document_view.view.getMenusForScope(entity, params) |
166 items += self._getTimeDependentEntries(entity, params) |
166 items += self._getTimeDependentEntries(entity, params) |
167 |
167 |
168 items += [(redirects.getReviewOverviewRedirect( |
168 items += [(redirects.getReviewOverviewRedirect( |
169 entity, {'url_name': 'org_app'}), |
169 entity, {'url_name': 'org_app'}), |
170 "List all Org Applications", 'any_access')] |
170 "Review Org Applications", 'any_access')] |
171 # add link to edit Program Profile |
171 # add link to edit Program Profile |
172 items += [(redirects.getEditRedirect(entity, params), |
172 items += [(redirects.getEditRedirect(entity, params), |
173 'Edit Program Profile','any_access')] |
173 'Edit Program Profile','any_access')] |
174 # add link to edit Program Timeline |
174 # add link to edit Program Timeline |
175 items += [(redirects.getEditRedirect(entity, {'url_name': 'timeline'}), |
175 items += [(redirects.getEditRedirect(entity, {'url_name': 'timeline'}), |
203 # add the organization signup link |
203 # add the organization signup link |
204 items += [ |
204 items += [ |
205 (redirects.getApplyRedirect(program_entity, {'url_name': 'org_app'}), |
205 (redirects.getApplyRedirect(program_entity, {'url_name': 'org_app'}), |
206 "Apply to become an Organization", 'any_access')] |
206 "Apply to become an Organization", 'any_access')] |
207 |
207 |
|
208 items += [ |
|
209 (redirects.getListSelfRedirect(program_entity, {'url_name' : 'org_app'}), |
|
210 "List my Org Applications", 'any_access')] |
|
211 |
208 return items |
212 return items |
209 |
213 |
210 |
214 |
211 view = View() |
215 view = View() |
212 |
216 |