Put content back into case html template

I discovered that it is where the "rendered entity" comes from.
This commit is contained in:
naomi 2018-04-14 17:49:58 +02:00
parent 483d1ac9d9
commit 72936b0da6
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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' => [