apis_core.collections.templatetags package

Submodules

apis_core.collections.templatetags.collections module

apis_core.collections.templatetags.collections.collection_children_toggle(context, obj, collection)[source]

Provide toggle buttons for all the children of a parent collection.

apis_core.collections.templatetags.collections.collection_children_toggle_by_id(context, obj, collectionid)[source]

Wrapper templatetag to allow using collection_children_toggle with just the id of the parent collection.

apis_core.collections.templatetags.collections.collection_content_objects(context, obj, collectionids=None)[source]
apis_core.collections.templatetags.collections.collection_object_parent(context, obj, collectionobject)[source]

Provide a button to change the connection between an object and a collection to point to the collections parent.

apis_core.collections.templatetags.collections.collection_object_parent_by_id(context, obj, collectionobject_id)[source]

Wrapper templatetag to allow using collection_object_parent with just the id of the collectionobject.

apis_core.collections.templatetags.collections.collection_session_toggle_by_id(context, collection_id)[source]

Provide a checkbox to toggle if a session collection is active. The checkbox calls the CollectionSessionToggle view.

apis_core.collections.templatetags.collections.collection_toggle(context, obj, collection)[source]

Provide a button to add or remove a connection between a collection and an object.

apis_core.collections.templatetags.collections.collection_toggle_by_id(context, obj, collectionid)[source]

Wrapper templatetag to allow using collection_toggle with just the id of the collection.