editor: show levelconnector levels in list
This commit is contained in:
parent
1ff1a35ce8
commit
c4016a0c06
3 changed files with 8 additions and 0 deletions
|
@ -59,6 +59,7 @@ def list_mapitems(request, mapitem_type, level=None):
|
|||
'title': mapitemtype._meta.verbose_name_plural,
|
||||
'has_level': level is not None,
|
||||
'has_elevator': hasattr(mapitemtype, 'elevator'),
|
||||
'has_levels': hasattr(mapitemtype, 'levels'),
|
||||
'level': level,
|
||||
'items': filter_queryset_by_package_access(request, queryset),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue