This commit is contained in:
naomi 2018-04-15 15:57:52 +02:00
parent ce80a00a4b
commit 09bb49b636
3 changed files with 9 additions and 5 deletions

View File

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

View File

@ -206,7 +206,7 @@ class ContactDetails extends ContentEntityBase implements ContactDetailsInterfac
'text_processing' => 0,
))
->setDisplayOptions('view', array(
'label' => 'hidden',
'label' => 'above',
'type' => 'string',
'weight' => 0,
))

View File

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