Pulling case_id through when creating an activity and client_id when creating a case. (Only for demo really; bit of tech debt)
This commit is contained in:
@ -9,15 +9,15 @@
|
||||
* - link: A link to add a content entity of this type.
|
||||
* - description: A description of this content entity types/bundle.
|
||||
*
|
||||
* @see template_preprocess_oc_case_content_add_list()
|
||||
* @see template_preprocess_oc_activity_content_add_list()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
{% spaceless %}
|
||||
<dl>
|
||||
{% for type in types %}
|
||||
<dt>{{ type.link }}</dt>
|
||||
{% for id,type in bundles %}
|
||||
<dt><a href="/opencase/oc_case/add/{{ id }}?client_id={{ client_id }}">{{ type.label }}</a></dt>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
{% endspaceless %}
|
||||
|
Reference in New Issue
Block a user