'editable' => TRUE,
],
[
+ 'text' => '',
+ 'style' => 'default',
'size' => 'btn-xs',
+ 'icon' => 'fa-bars',
'links' => [
[
'entity' => 'CustomField',
'join' => '',
'target' => 'crm-popup',
'icon' => 'fa-pencil',
- 'text' => E::ts('Edit Field'),
+ 'text' => E::ts('Edit'),
'style' => 'default',
'path' => '',
'condition' => [],
],
- ],
- 'type' => 'buttons',
- 'alignment' => 'text-right',
- ],
- [
- 'text' => '',
- 'style' => 'default',
- 'size' => 'btn-xs',
- 'icon' => 'fa-bars',
- 'links' => [
[
'entity' => 'CustomField',
'action' => 'preview',
'join' => '',
'target' => 'crm-popup',
'icon' => 'fa-eye',
- 'text' => E::ts('Preview Field'),
+ 'text' => E::ts('Preview'),
'style' => 'default',
'path' => '',
'condition' => [],
'entity' => 'CustomField',
'target' => 'crm-popup',
'icon' => 'fa-toggle-on',
- 'text' => E::ts('Enable Field'),
+ 'text' => E::ts('Enable'),
'style' => 'default',
'condition' => ['is_active', '=', FALSE],
],
'entity' => 'CustomField',
'target' => 'crm-popup',
'icon' => 'fa-toggle-off',
- 'text' => E::ts('Disable Field'),
+ 'text' => E::ts('Disable'),
'style' => 'default',
'condition' => ['is_active', '=', TRUE],
],
'join' => '',
'target' => 'crm-popup',
'icon' => 'fa-random',
- 'text' => E::ts('Move Field'),
+ 'text' => E::ts('Move'),
'style' => 'default',
'path' => '',
'condition' => [],
'join' => '',
'target' => 'crm-popup',
'icon' => 'fa-trash',
- 'text' => E::ts('Delete Field'),
+ 'text' => E::ts('Delete'),
'style' => 'danger',
'path' => '',
'condition' => [],