This commit is contained in:
naomi 2018-04-15 12:53:49 +02:00
parent fae90205a4
commit 58136ba2b4
3 changed files with 7 additions and 2 deletions

View File

@ -4,6 +4,11 @@ a.site-branding__logo img {
} }
/* Module-specific from here. */ /* Module-specific from here. */
#content .zencrm_case_details {
display: none; /* don't show case as main content - it's shown in sidebar */
}
div.region.region-primary-menu { div.region.region-primary-menu {
display:none; display:none;
} }

View File

@ -196,7 +196,7 @@ class Activity extends ContentEntityBase implements ActivityInterface {
]) ])
->setDefaultValue('') ->setDefaultValue('')
->setDisplayOptions('view', [ ->setDisplayOptions('view', [
'label' => 'above', 'label' => 'hidden',
'type' => 'string', 'type' => 'string',
'weight' => -4, 'weight' => -4,
]) ])

View File

@ -17,6 +17,6 @@
#} #}
<div{{ attributes.addClass('case_entity') }}> <div{{ attributes.addClass('case_entity') }}>
{% if content %} {% if content %}
<div id = '#zencrm_case'>{{- content -}}</div> <div class = 'zencrm_case_details'>{{- content -}}</div>
{% endif %} {% endif %}
</div> </div>