equal
deleted
inserted
replaced
54 """Returns the public redirect for the specified entity. |
54 """Returns the public redirect for the specified entity. |
55 """ |
55 """ |
56 |
56 |
57 return '/%s/show/%s' % ( |
57 return '/%s/show/%s' % ( |
58 params['url_name'], entity.key().name()) |
58 params['url_name'], entity.key().name()) |
59 |
59 |
60 |
60 |
61 def getExportRedirect(entity, params): |
61 def getExportRedirect(entity, params): |
62 """Returns the export redirect for the specified entity. |
62 """Returns the export redirect for the specified entity. |
63 """ |
63 """ |
64 |
64 |
65 return '/%s/export/%s' % ( |
65 return '/%s/export/%s' % ( |
66 params['url_name'], entity.key().name()) |
66 params['url_name'], entity.key().name()) |
67 |
67 |
68 |
68 |
69 def getReviewRedirect(entity, params): |
69 def getReviewRedirect(entity, params): |
70 """Returns the redirect to review the specified entity |
70 """Returns the redirect to review the specified entity |
71 """ |
71 """ |
72 |
72 |
73 return '/%s/review/%s' % ( |
73 return '/%s/review/%s' % ( |
88 """Returns the redirect for accepting an invite. |
88 """Returns the redirect for accepting an invite. |
89 """ |
89 """ |
90 |
90 |
91 return '/%s/create/%s/%s' % ( |
91 return '/%s/create/%s/%s' % ( |
92 entity.role, entity.scope_path, entity.link_id) |
92 entity.role, entity.scope_path, entity.link_id) |
|
93 |
|
94 |
|
95 def getApplicantRedirect(entity, params): |
|
96 """Returns the redirect for processing accepted Applications. |
|
97 """ |
|
98 |
|
99 return '/%s/applicant/%s' % ( |
|
100 params['url_name'], entity.link_id) |
|
101 |