diff --git a/css/opencase.css b/css/opencase.css index b353599..72b180f 100644 --- a/css/opencase.css +++ b/css/opencase.css @@ -26,6 +26,10 @@ div.region.region-primary-menu { border-bottom: none; } +.sidebar .field--type-entity-reference { + margin: 1em 0 0 0; +} + .region-sidebar-second .view-content li, .region-sidebar-second .views-row, .region-sidebar-second .zencrm_inner_sidebar_block { border-bottom: 10px solid #e6e6d3; padding-bottom: 20px; @@ -65,11 +69,11 @@ div.region.region-primary-menu { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } -.sidebar .views-element-container .field { +.sidebar .views-element-container .field, .sidebar .zencrm_inner_sidebar_block .field { padding-bottom: 15px; } -.sidebar .views-element-container .field .field__item { +.sidebar .views-element-container .field .field__item, .sidebar .zencrm_inner_sidebar_block .field__item { font-size: 1.1em; } diff --git a/modules/zencrm_entities/src/Entity/ContactDetails.php b/modules/zencrm_entities/src/Entity/ContactDetails.php index 2eac59e..b8bcf2a 100644 --- a/modules/zencrm_entities/src/Entity/ContactDetails.php +++ b/modules/zencrm_entities/src/Entity/ContactDetails.php @@ -206,7 +206,7 @@ class ContactDetails extends ContentEntityBase implements ContactDetailsInterfac 'text_processing' => 0, )) ->setDisplayOptions('view', array( - 'label' => 'hidden', + 'label' => 'above', 'type' => 'string', 'weight' => 0, )) diff --git a/modules/zencrm_entities/src/Entity/Hat.php b/modules/zencrm_entities/src/Entity/Hat.php index a5e180a..2a8a757 100644 --- a/modules/zencrm_entities/src/Entity/Hat.php +++ b/modules/zencrm_entities/src/Entity/Hat.php @@ -181,7 +181,7 @@ class Hat extends ContentEntityBase implements HatInterface { ->setSetting('target_type', 'person'); $fields['contact_details'] = BaseFieldDefinition::create('entity_reference') - ->setLabel(t('Contact Details')) + ->setLabel(t('Contact Details to use for this Hat')) ->setDescription(t('The contact details to be used when communicating with this person in this capacity.')) ->setSetting('target_type', 'contact_details') ->setSetting('handler', 'views') @@ -191,7 +191,7 @@ class Hat extends ContentEntityBase implements HatInterface { ]]) ->setDisplayOptions('view', [ 'label' => 'above', - 'weight' => 0, + 'weight' => 100, 'settings' => ['link' => 'false'] ]) ->setDisplayOptions('form', [