131 fields['status'] = 'needs review' |
131 fields['status'] = 'needs review' |
132 |
132 |
133 super(View, self)._editPost(request, entity, fields) |
133 super(View, self)._editPost(request, entity, fields) |
134 |
134 |
135 |
135 |
136 def _public(self, request, entity, context): |
|
137 """See base._public(). |
|
138 """ |
|
139 |
|
140 context['entity_type_url'] = self._params['url_name'] |
|
141 |
|
142 super(View, self)._public(request, entity, context) |
|
143 |
|
144 |
|
145 @decorators.merge_params |
136 @decorators.merge_params |
146 @decorators.check_access |
137 @decorators.check_access |
147 def list(self, request, access_type, |
138 def list(self, request, access_type, |
148 page_name=None, params=None, filter={}, **kwargs): |
139 page_name=None, params=None, filter={}, **kwargs): |
149 """Lists all notifications in separate tables, depending on their status. |
140 """Lists all notifications in separate tables, depending on their status. |