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:
@ -60,6 +60,7 @@ function opencase_entities_theme() {
|
||||
$theme['oc_activity_content_add_list'] = [
|
||||
'render element' => 'content',
|
||||
'variables' => ['content' => NULL],
|
||||
'template' => 'oc-activity-content-add-list',
|
||||
'file' => 'oc_activity.page.inc',
|
||||
];
|
||||
$theme['oc_organisation'] = [
|
||||
|
@ -16,8 +16,8 @@
|
||||
#}
|
||||
{% spaceless %}
|
||||
<dl>
|
||||
{% for type in types %}
|
||||
<dt>{{ type.link }}</dt>
|
||||
{% for id,type in bundles %}
|
||||
<dt><a href="/opencase/oc_activity/add/{{ id }}?case_id={{ case_id }}">{{ type.label }}</a></dt>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
{% endspaceless %}
|
||||
|
Reference in New Issue
Block a user