This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
2018-04-29 11:58:46 +00:00
|
|
|
{#
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Default theme implementation to present a list of custom content entity types/bundles.
|
|
|
|
*
|
|
|
|
* Available variables:
|
|
|
|
* - types: A collection of all the available custom entity types/bundles.
|
|
|
|
* Each type/bundle contains the following:
|
|
|
|
* - link: A link to add a content entity of this type.
|
|
|
|
* - description: A description of this content entity types/bundle.
|
|
|
|
*
|
2021-08-26 20:41:36 +00:00
|
|
|
* @see template_preprocess_oc_activity_content_add_list()
|
2018-04-29 11:58:46 +00:00
|
|
|
*
|
|
|
|
* @ingroup themeable
|
|
|
|
*/
|
|
|
|
#}
|
|
|
|
{% spaceless %}
|
|
|
|
<dl>
|
2021-08-26 20:41:36 +00:00
|
|
|
{% for id,type in bundles %}
|
|
|
|
<dt><a href="/opencase/oc_case/add/{{ id }}?client_id={{ client_id }}">{{ type.label }}</a></dt>
|
2018-04-29 11:58:46 +00:00
|
|
|
{% endfor %}
|
|
|
|
</dl>
|
|
|
|
{% endspaceless %}
|