-
Notifications
You must be signed in to change notification settings - Fork 5
/
contacts.links.action.yml
42 lines (40 loc) · 1.11 KB
/
contacts.links.action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
contacts.contact_create_group:
route_name: <current>
title: 'Create'
appears_on:
- page_manager.page_view_contacts_dashboard
- page_manager.page_view_contacts_dashboard_contact
options:
is_action_group: true
attributes:
title: 'Create'
class:
- 'button'
- 'button-action'
- 'action-group-control-create'
contacts.contact_add_indiv:
route_name: contacts.add_indiv_form
title: 'Person'
appears_on:
- page_manager.page_view_contacts_dashboard
- page_manager.page_view_contacts_dashboard_contact
options:
action_group: contacts.contact_create_group
attributes:
class:
- 'use-ajax'
data-dialog-type: 'modal'
data-ajax-progress: 'fullscreen'
contacts.contact_add_org:
route_name: contacts.add_org_form
title: 'Organisation'
appears_on:
- page_manager.page_view_contacts_dashboard
- page_manager.page_view_contacts_dashboard_contact
options:
action_group: contacts.contact_create_group
attributes:
class:
- 'use-ajax'
data-dialog-type: 'modal'
data-ajax-progress: 'fullscreen'