Put content back into case html template
I discovered that it is where the "rendered entity" comes from.
This commit is contained in:
parent
483d1ac9d9
commit
72936b0da6
@ -17,6 +17,6 @@
|
||||
#}
|
||||
<div{{ attributes.addClass('case_entity') }}>
|
||||
{% if content %}
|
||||
{# removed content because case page is managed via views and blocks #}
|
||||
{{- content -}}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -26,7 +26,7 @@ class InvolvedParties extends BlockBase {
|
||||
$hats_involved = $case->hats_involved->referencedEntities();
|
||||
foreach($hats_involved as $hat) {
|
||||
$person_id = $hat->person->first()->getValue()['target_id'];
|
||||
$markup .= "<p><a href='/zencrm/person/$person_id?backto=case&backtoid=$case_id'>" . $hat->name->getString() . "</a></p>";
|
||||
$markup .= "<p><a href='/zencrm/person/$person_id'>" . $hat->name->getString() . "</a></p>";
|
||||
}
|
||||
return [
|
||||
'#cache' => [
|
||||
|
Reference in New Issue
Block a user