equal
deleted
inserted
replaced
251 return viewlet.render() |
251 return viewlet.render() |
252 else: |
252 else: |
253 return '' |
253 return '' |
254 |
254 |
255 |
255 |
256 class TrashColumn(ActionColumn): |
256 class TrashColumn(JsActionColumn): |
257 """Trash action icon column""" |
257 """Trash action icon column""" |
258 |
258 |
259 url = 'MyAMS.container.deleteElement' |
259 url = 'MyAMS.container.deleteElement' |
260 icon_class = 'fa fa-fw fa-trash' |
260 icon_class = 'fa fa-fw fa-trash' |
261 icon_hint = _("Delete object") |
261 icon_hint = _("Delete object") |
262 permission = MANAGE_PERMISSION |
262 permission = MANAGE_PERMISSION |
263 weight = 9999 |
263 weight = 9999 |
264 |
|
265 def get_url(self, item): |
|
266 return self.url |
|