equal
deleted
inserted
replaced
159 params = dicts.merge(params, new_params, sub_merge=True) |
159 params = dicts.merge(params, new_params, sub_merge=True) |
160 |
160 |
161 super(View, self).__init__(params=params) |
161 super(View, self).__init__(params=params) |
162 |
162 |
163 # add manage template |
163 # add manage template |
164 params['manage_template'] = 'soc/%(module_name)s/manage.html' % params |
164 template = 'soc/%(module_name)s/manage.html' % self._params |
165 |
165 self._params['manage_template'] = template |
166 if params.get('show_in_roles_overview'): |
166 |
|
167 if self._params.get('show_in_roles_overview'): |
167 # add to roles overview |
168 # add to roles overview |
168 addRole(self) |
169 addRole(self) |
169 |
170 |
170 @decorators.merge_params |
171 @decorators.merge_params |
171 @decorators.check_access |
172 @decorators.check_access |