Compare commits

...

52 Commits
0.2.2 ... 0.2.4

Author SHA1 Message Date
ebd755d86c search view: changed no-results wording &cache off 2018-07-19 16:48:03 +02:00
c507fb29b7 changed no-results wording in views 2018-07-19 16:47:16 +02:00
af0040479e added the actual menu as well as the block 2018-07-19 16:46:23 +02:00
3198c00f5a Added add-actors block which was missing 2018-07-19 16:45:31 +02:00
2e40dc46f2 removed view caching 2018-07-19 16:29:56 +02:00
7a21352ac4 activity view query permissions. 2018-07-19 16:22:26 +02:00
8b274c0d6c Changed some permissions 2018-07-19 15:56:57 +02:00
775a08319c if you cancel a delete it now goes back to entity
like duh why didn't it just do that by default
2018-07-19 15:51:52 +02:00
352ea000f0 More on permissions for activities and cases 2018-07-19 15:35:22 +02:00
ec99009f16 Added access control for viewing activity
Can only view activity if involved in the case.
2018-07-19 15:10:02 +02:00
d2bd27c960 added another null check to contextual menu 2018-07-19 14:23:44 +02:00
b5f567f872 changed contact form address to aktivix
because gmail is giving ipv6 errors
2018-07-19 13:54:09 +02:00
221d16c7fa removed label from contextual menu block 2018-07-19 11:39:15 +02:00
6b3b744900 Added contact form to opencase_defaults 2018-07-19 11:35:43 +02:00
1c0195a632 Redirects to activity list on deleteing activity 2018-07-18 22:39:27 +02:00
a47a06aef3 Gave site admin various permissions 2018-07-18 22:21:22 +02:00
33feac1977 redirect to home after deleting case or actor
also changed contextual menu code for cases when the actor whose case it is has been deleted
2018-07-18 22:15:45 +02:00
ddab3e450a fixed bug where case list link not generated 2018-07-18 21:06:26 +02:00
e588a70a1b Added configs (didn't do that last commit) 2018-07-18 20:15:57 +02:00
c0c415e691 New config for asylum status and language. 2018-07-18 20:05:27 +02:00
6c384605ec removed old asylum and language fields
and associated config
2018-07-18 19:59:51 +02:00
09650469bf Only those with "administer users" can link actor 2018-07-18 12:06:22 +02:00
48dabf1701 minor change: null check 2018-07-17 16:19:25 +02:00
08fe6dc362 added code to remove exposedfilter when view empty 2018-07-09 20:38:48 +02:00
3f01a3ad41 typo 2018-07-09 20:31:20 +02:00
d589ef8d69 premission description 2018-07-09 20:29:25 +02:00
a267e222b8 Removed the "view own cases" permission
Now everyone sees cases they are involved in, they don't need a special perm.
2018-07-09 20:26:11 +02:00
910350699d Added 'view label' access bypass to actors
Was therefore able to get rid of the "view volunteer involvement in cases" stuff which was complicated
2018-07-09 20:15:16 +02:00
c729750705 Case views are now filtered by user involvement
unless the user has the see all cases permission
2018-07-09 19:36:47 +02:00
351bdb5afd Added "own cases" permission and access check
Works for when viewing a single case, not for view yet though.
2018-07-09 13:21:52 +02:00
2a31b1c8ce added linked actor of logged in user to new case 2018-07-09 12:11:07 +02:00
667b109de8 removed client from volunteer engagement 2018-07-09 11:32:12 +02:00
92d4f74ad7 fixed a sed mistake 2018-07-09 11:22:38 +02:00
487415c679 Another attempt to fix the "plugin does not exist" 2018-07-09 11:21:09 +02:00
7bf0f67a06 Added a bunch of config, apparently wasn't in git 2018-07-05 17:57:10 +02:00
8dc840a53d Made ALL of opencase_defaults config optional.
The idea is you can install it, and use as a basis to configure your own things and then if you uninstall it it shouldn't lose your stuff.
2018-07-05 17:11:32 +02:00
288751274b Moved more contact form config. 2018-07-05 16:16:42 +02:00
aa130aeede moved more contact form config to main module 2018-07-05 16:15:18 +02:00
f373ac419e Added menu links for "add actors" menu to defaults
Because it has hard coded bundles.
Also remove some config files that were not needed any more.
2018-07-05 16:09:57 +02:00
b1d5c4eddf Moved contact form to opencase module
Using optional config.
2018-07-05 16:07:34 +02:00
6c6c6d5c92 Added menu link config to opencase module.
For opencase-admin and openc (OpenCase Global) menus.
2018-07-05 15:56:19 +02:00
73e7ff2656 Uninstall hook in opencase module
Also moved more config files about.
2018-07-05 14:05:50 +02:00
8dd56d5b51 OpenCase Search module - uninstall hook working. 2018-07-05 13:55:45 +02:00
d229e02f67 moved search config into its own module. 2018-07-05 13:22:45 +02:00
7ef0628bd6 Deleted features, moved everything into submodules. 2018-07-05 12:29:09 +02:00
5863fb7faa moved some files around
trying to organise what was features into submodules
2018-07-05 12:24:14 +02:00
36939720fe User roles as well as bundles are now in module
opencase_defaults... also changed its title
2018-06-29 16:30:05 +02:00
7e04836ff1 Moved bundle configs from feature into module 2018-06-29 16:23:12 +02:00
b28c7a3f5d removed opencase_search module
it wasn't doing anything - the feature is what does stuff
2018-06-29 15:52:39 +02:00
5688f89857 removed dependency of opencase on opencase-search 2018-06-29 15:38:43 +02:00
cf0078d1be removed date format configs
easier than working out how to override them
2018-06-29 15:12:39 +02:00
f4c3512501 straighforward bugfix 2018-06-29 14:51:12 +02:00
192 changed files with 1048 additions and 343 deletions

View File

@ -10,7 +10,7 @@ dependencies:
id: opencase id: opencase
theme: bartik theme: bartik
region: sidebar_first region: sidebar_first
weight: -7 weight: -8
provider: null provider: null
plugin: 'system_menu_block:opencase-admin' plugin: 'system_menu_block:opencase-admin'
settings: settings:

View File

@ -0,0 +1,31 @@
langcode: en
status: true
dependencies:
config:
- system.menu.opencase-add-actors
module:
- system
- user
theme:
- bartik
id: opencaseaddactors
theme: bartik
region: sidebar_first
weight: -8
provider: null
plugin: 'system_menu_block:opencase-add-actors'
settings:
id: 'system_menu_block:opencase-add-actors'
label: 'Add Actors'
provider: system
label_display: visible
level: 1
depth: 0
visibility:
user_role:
id: user_role
roles:
authenticated: authenticated
negate: false
context_mapping:
user: '@user.current_user_context:current_user'

View File

@ -5,10 +5,10 @@ dependencies:
- opencase - opencase
theme: theme:
- bartik - bartik
id: opencasecontextualmenu_2 id: opencasecontextualmenu
theme: bartik theme: bartik
region: sidebar_second region: sidebar_second
weight: 0 weight: -8
provider: null provider: null
plugin: opencase_contextual_menu plugin: opencase_contextual_menu
settings: settings:

View File

@ -11,7 +11,7 @@ dependencies:
id: opencaseglobal id: opencaseglobal
theme: bartik theme: bartik
region: sidebar_first region: sidebar_first
weight: -6 weight: -7
provider: null provider: null
plugin: 'system_menu_block:openc' plugin: 'system_menu_block:openc'
settings: settings:

View File

@ -27,7 +27,7 @@ display:
role: role:
authenticated: authenticated authenticated: authenticated
cache: cache:
type: tag type: none
options: { } options: { }
query: query:
type: views_query type: views_query
@ -389,7 +389,18 @@ display:
title: 'Activity List' title: 'Activity List'
header: { } header: { }
footer: { } footer: { }
empty: { } empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: 'This case has no activities yet. To add one, use the links in the sidebar to the right.'
plugin_id: text_custom
relationships: { } relationships: { }
arguments: arguments:
oc_case: oc_case:

View File

@ -27,7 +27,7 @@ display:
role: role:
authenticated: authenticated authenticated: authenticated
cache: cache:
type: tag type: none
options: { } options: { }
query: query:
type: views_query type: views_query
@ -48,10 +48,23 @@ display:
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
pager: pager:
type: some type: mini
options: options:
items_per_page: 10 items_per_page: 20
offset: 0 offset: 0
id: 0
total_pages: null
tags:
previous:
next:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
style: style:
type: table type: table
row: row:
@ -434,7 +447,52 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: false hide_alter_empty: false
plugin_id: custom plugin_id: custom
filters: { } filters:
type:
id: type
table: oc_case_field_data
field: type
relationship: none
group_type: group
admin_label: ''
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: type_op
label: 'Case type'
description: ''
use_operator: false
operator: type_op
identifier: type
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
overseer: '0'
caseworker: '0'
volunteer_co_ord: '0'
opencase_admin: '0'
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: oc_case
entity_field: type
plugin_id: bundle
sorts: sorts:
created: created:
id: created id: created
@ -447,14 +505,25 @@ display:
exposed: false exposed: false
expose: expose:
label: '' label: ''
granularity: hour granularity: day
entity_type: oc_case entity_type: oc_case
entity_field: created entity_field: created
plugin_id: date plugin_id: date
title: 'Case List' title: ''
header: { } header: { }
footer: { } footer: { }
empty: { } empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: "<p>Either there are no cases involving this person, or you do not have access to them.</p>\n"
plugin_id: text_custom
relationships: { } relationships: { }
arguments: arguments:
actors_involved_target_id: actors_involved_target_id:
@ -495,12 +564,14 @@ display:
entity_field: actors_involved entity_field: actors_involved
plugin_id: numeric plugin_id: numeric
display_extenders: { } display_extenders: { }
use_ajax: true
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args
- user.roles - user.roles
tags: { } tags: { }
page_1: page_1:
@ -511,11 +582,106 @@ display:
display_options: display_options:
display_extenders: { } display_extenders: { }
path: opencase/oc_actor/%actor_id/case_list path: opencase/oc_actor/%actor_id/case_list
defaults:
filters: false
filter_groups: false
filters: { }
filter_groups:
operator: AND
groups:
1: AND
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args
- user.roles
tags: { }
page_2:
display_plugin: page
id: page_2
display_title: 'All Cases'
position: 2
display_options:
display_extenders: { }
display_description: ''
arguments: { }
defaults:
arguments: false
filters: false
filter_groups: false
empty: false
path: opencase/all-cases
filters:
type:
id: type
table: oc_case_field_data
field: type
relationship: none
group_type: group
admin_label: ''
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: type_op
label: 'Case type'
description: ''
use_operator: false
operator: type_op
identifier: type
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
overseer: '0'
caseworker: '0'
volunteer_co_ord: '0'
opencase_admin: '0'
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: oc_case
entity_field: type
plugin_id: bundle
filter_groups:
operator: AND
groups:
1: AND
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: "<h1>No cases found</h1>\n<p>You do not have access to any existing cases.</p>\n<p>To <b>add a new case</b>, first search for the person you want to add a case to. If they are not on the system yet you can add them using the <b>Add actors</b> menu in the left sidebar.</p>\n"
plugin_id: text_custom
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles - user.roles
tags: { } tags: { }

View File

@ -1,20 +0,0 @@
langcode: en
status: true
dependencies:
module:
- opencase_entities
id: oc_actor.field_languages_spoken
field_name: field_languages_spoken
entity_type: oc_actor
type: string
settings:
max_length: 255
is_ascii: false
case_sensitive: false
module: core
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,5 +0,0 @@
langcode: en
status: true
dependencies: { }
id: accommodation
label: Accommodation

View File

@ -1,5 +0,0 @@
langcode: en
status: true
dependencies: { }
id: asylum_support
label: 'Asylum support'

View File

@ -1,5 +0,0 @@
langcode: en
status: true
dependencies: { }
id: employability
label: Employability

View File

@ -1,5 +0,0 @@
langcode: en
status: true
dependencies: { }
id: health
label: Health

View File

@ -1,5 +0,0 @@
langcode: en
status: true
dependencies: { }
id: immigration
label: Immigration

View File

@ -1,5 +0,0 @@
langcode: en
status: true
dependencies: { }
id: volunteer_engagement
label: 'Volunteer Engagement'

View File

@ -1,5 +0,0 @@
langcode: en
status: true
dependencies: { }
id: welfare_rights
label: 'Welfare Rights'

View File

@ -1,2 +0,0 @@
bundle: opencase_features
required: true

View File

@ -1,11 +0,0 @@
name: 'Ciac Bundles'
type: module
core: 8.x
dependencies:
- datetime
- field
- file
- opencase_entities
- options
- user
package: 'OpenCase Features'

View File

@ -1,2 +0,0 @@
bundle: opencase_features
required: true

View File

@ -1,11 +0,0 @@
name: 'Opencase Search'
type: module
core: 8.x
dependencies:
- block
- opencase_entities
- search_api
- search_api_db
- user
- views
package: 'OpenCase Features'

View File

@ -1,7 +0,0 @@
langcode: en
status: true
dependencies: { }
id: long
label: 'Default long date'
locked: false
pattern: 'D j M Y - H:i'

View File

@ -1,7 +0,0 @@
langcode: en
status: true
dependencies: { }
id: medium
label: 'Default medium date'
locked: false
pattern: 'd/m/Y - H:i'

View File

@ -1,7 +0,0 @@
langcode: en
status: true
dependencies: { }
id: short
label: 'Default short date'
locked: false
pattern: d/m/Y

View File

@ -1,2 +0,0 @@
bundle: opencase_features
required: true

View File

@ -1,12 +0,0 @@
name: 'OpenCase UI'
type: module
core: 8.x
dependencies:
- block
- contact
- opencase
- opencase_entities
- system
- user
- views
package: 'OpenCase Features'

View File

@ -0,0 +1,11 @@
langcode: en
status: true
dependencies: { }
id: contact_opencase
label: 'Contact the OpenCase Developers'
recipients:
- naomi@aktivix.org
reply: ''
weight: 0
message: 'Thank you for your message. The OpenCase team will get back to you ASAP.'
redirect: ''

View File

@ -0,0 +1,5 @@
default_form: contact_opencase
flood:
limit: 5
interval: 3600
user_default_enabled: false

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.accommodation
id: oc_case.accommodation.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: accommodation
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.asylum_support
id: oc_case.asylum_support.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: asylum_support
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.employability
id: oc_case.employability.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: employability
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.health
id: oc_case.health.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: health
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.immigration
id: oc_case.immigration.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: immigration
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_case_type.volunteer_engagement
id: oc_case.volunteer_engagement.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: volunteer_engagement
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.welfare_rights
id: oc_case.welfare_rights.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: welfare_rights
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -25,12 +25,10 @@ bundle: client
mode: default mode: default
content: content:
field_asylum_status: field_asylum_status:
weight: 35 weight: 6
settings: settings: { }
size: 60
placeholder: ''
third_party_settings: { } third_party_settings: { }
type: string_textfield type: options_select
region: content region: content
field_client_field_1: field_client_field_1:
weight: 26 weight: 26
@ -41,20 +39,20 @@ content:
type: string_textfield type: string_textfield
region: content region: content
field_confidentiality_form: field_confidentiality_form:
weight: 39 weight: 15
settings: settings:
progress_indicator: throbber progress_indicator: throbber
third_party_settings: { } third_party_settings: { }
type: file_generic type: file_generic
region: content region: content
field_date_of_birth: field_date_of_birth:
weight: 27 weight: 3
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: datetime_default type: datetime_default
region: content region: content
field_dependants: field_dependants:
weight: 36 weight: 12
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
@ -62,7 +60,7 @@ content:
type: string_textfield type: string_textfield
region: content region: content
field_disability: field_disability:
weight: 31 weight: 10
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
@ -70,7 +68,7 @@ content:
type: string_textfield type: string_textfield
region: content region: content
field_ethnic_o: field_ethnic_o:
weight: 33 weight: 7
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
@ -78,39 +76,37 @@ content:
type: string_textfield type: string_textfield
region: content region: content
field_gender_identified_with: field_gender_identified_with:
weight: 30 weight: 4
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select type: options_select
region: content region: content
field_how_heard: field_how_heard:
weight: 37 weight: 13
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select type: options_select
region: content region: content
field_income: field_income:
weight: 34 weight: 11
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select type: options_select
region: content region: content
field_languages_spoken: field_languages_spoken:
weight: 32 weight: 9
settings: settings: { }
size: 60
placeholder: ''
third_party_settings: { } third_party_settings: { }
type: string_textfield type: options_select
region: content region: content
field_marital_: field_marital_:
weight: 29 weight: 5
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select type: options_select
region: content region: content
field_nationality: field_nationality:
weight: 28 weight: 8
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
@ -118,7 +114,7 @@ content:
type: string_textfield type: string_textfield
region: content region: content
field_referred_by: field_referred_by:
weight: 38 weight: 14
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
@ -135,7 +131,7 @@ content:
third_party_settings: { } third_party_settings: { }
phone: phone:
type: string_textfield type: string_textfield
weight: 2 weight: 0
region: content region: content
settings: settings:
size: 60 size: 60
@ -143,7 +139,7 @@ content:
third_party_settings: { } third_party_settings: { }
phone2: phone2:
type: string_textfield type: string_textfield
weight: 3 weight: 1
region: content region: content
settings: settings:
size: 60 size: 60
@ -151,7 +147,7 @@ content:
third_party_settings: { } third_party_settings: { }
postal_address: postal_address:
type: string_textarea type: string_textarea
weight: 5 weight: 2
region: content region: content
settings: settings:
rows: 5 rows: 5

View File

@ -4,6 +4,7 @@ dependencies:
config: config:
- field.field.oc_actor.volunteer.field_languages_spoken - field.field.oc_actor.volunteer.field_languages_spoken
- field.field.oc_actor.volunteer.field_nationality - field.field.oc_actor.volunteer.field_nationality
- field.field.oc_actor.volunteer.field_osic_level
- opencase_entities.oc_actor_type.volunteer - opencase_entities.oc_actor_type.volunteer
id: oc_actor.volunteer.default id: oc_actor.volunteer.default
targetEntityType: oc_actor targetEntityType: oc_actor
@ -12,11 +13,9 @@ mode: default
content: content:
field_languages_spoken: field_languages_spoken:
weight: 28 weight: 28
settings: settings: { }
size: 60
placeholder: ''
third_party_settings: { } third_party_settings: { }
type: string_textfield type: options_select
region: content region: content
field_nationality: field_nationality:
weight: 27 weight: 27
@ -26,6 +25,12 @@ content:
third_party_settings: { } third_party_settings: { }
type: string_textfield type: string_textfield
region: content region: content
field_osic_level:
weight: 29
settings: { }
third_party_settings: { }
type: options_select
region: content
field_sdfdsfds: field_sdfdsfds:
weight: 26 weight: 26
settings: settings:

View File

@ -27,12 +27,11 @@ bundle: client
mode: default mode: default
content: content:
field_asylum_status: field_asylum_status:
weight: 15 weight: 6
label: above label: above
settings: settings: { }
link_to_entity: false
third_party_settings: { } third_party_settings: { }
type: string type: list_default
region: content region: content
field_client_field_1: field_client_field_1:
weight: 1 weight: 1
@ -43,7 +42,7 @@ content:
type: string type: string
region: content region: content
field_confidentiality_form: field_confidentiality_form:
weight: 19 weight: 15
label: above label: above
settings: settings:
use_description_as_link_text: true use_description_as_link_text: true
@ -51,7 +50,7 @@ content:
type: file_default type: file_default
region: content region: content
field_date_of_birth: field_date_of_birth:
weight: 7 weight: 3
label: above label: above
settings: settings:
format_type: medium format_type: medium
@ -60,51 +59,6 @@ content:
type: datetime_default type: datetime_default
region: content region: content
field_dependants: field_dependants:
weight: 16
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_disability:
weight: 11
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_ethnic_o:
weight: 13
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_gender_identified_with:
weight: 10
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_how_heard:
weight: 17
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_income:
weight: 14
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_languages_spoken:
weight: 12 weight: 12
label: above label: above
settings: settings:
@ -112,13 +66,57 @@ content:
third_party_settings: { } third_party_settings: { }
type: string type: string
region: content region: content
field_marital_: field_disability:
weight: 10
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_ethnic_o:
weight: 7
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_gender_identified_with:
weight: 4
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_how_heard:
weight: 13
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_income:
weight: 11
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_languages_spoken:
weight: 9 weight: 9
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: list_default type: list_default
region: content region: content
field_marital_:
weight: 5
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_nationality: field_nationality:
weight: 8 weight: 8
label: above label: above
@ -128,7 +126,7 @@ content:
type: string type: string
region: content region: content
field_referred_by: field_referred_by:
weight: 18 weight: 14
label: above label: above
settings: settings:
link_to_entity: false link_to_entity: false
@ -146,7 +144,7 @@ content:
phone: phone:
label: above label: above
type: string type: string
weight: 2 weight: 0
region: content region: content
settings: settings:
link_to_entity: false link_to_entity: false
@ -154,7 +152,7 @@ content:
phone2: phone2:
label: above label: above
type: string type: string
weight: 3 weight: 1
region: content region: content
settings: settings:
link_to_entity: false link_to_entity: false
@ -162,7 +160,7 @@ content:
postal_address: postal_address:
label: above label: above
type: basic_string type: basic_string
weight: 5 weight: 2
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }

View File

@ -4,8 +4,10 @@ dependencies:
config: config:
- field.field.oc_actor.volunteer.field_languages_spoken - field.field.oc_actor.volunteer.field_languages_spoken
- field.field.oc_actor.volunteer.field_nationality - field.field.oc_actor.volunteer.field_nationality
- field.field.oc_actor.volunteer.field_osic_level
- opencase_entities.oc_actor_type.volunteer - opencase_entities.oc_actor_type.volunteer
module: module:
- options
- user - user
id: oc_actor.volunteer.default id: oc_actor.volunteer.default
targetEntityType: oc_actor targetEntityType: oc_actor
@ -15,10 +17,9 @@ content:
field_languages_spoken: field_languages_spoken:
weight: 8 weight: 8
label: above label: above
settings: settings: { }
link_to_entity: false
third_party_settings: { } third_party_settings: { }
type: string type: list_default
region: content region: content
field_nationality: field_nationality:
weight: 7 weight: 7
@ -28,6 +29,13 @@ content:
third_party_settings: { } third_party_settings: { }
type: string type: string
region: content region: content
field_osic_level:
weight: 9
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_sdfdsfds: field_sdfdsfds:
weight: 1 weight: 1
label: above label: above

View File

@ -4,6 +4,8 @@ dependencies:
config: config:
- field.storage.oc_actor.field_asylum_status - field.storage.oc_actor.field_asylum_status
- opencase_entities.oc_actor_type.client - opencase_entities.oc_actor_type.client
module:
- options
id: oc_actor.client.field_asylum_status id: oc_actor.client.field_asylum_status
field_name: field_asylum_status field_name: field_asylum_status
entity_type: oc_actor entity_type: oc_actor
@ -15,4 +17,4 @@ translatable: false
default_value: { } default_value: { }
default_value_callback: '' default_value_callback: ''
settings: { } settings: { }
field_type: string field_type: list_string

View File

@ -4,15 +4,17 @@ dependencies:
config: config:
- field.storage.oc_actor.field_languages_spoken - field.storage.oc_actor.field_languages_spoken
- opencase_entities.oc_actor_type.client - opencase_entities.oc_actor_type.client
module:
- options
id: oc_actor.client.field_languages_spoken id: oc_actor.client.field_languages_spoken
field_name: field_languages_spoken field_name: field_languages_spoken
entity_type: oc_actor entity_type: oc_actor
bundle: client bundle: client
label: 'Languages spoken' label: 'Languages spoken'
description: '' description: 'Hold down <b>Ctrl</b> (or the Mac equivalent) while clicking, and you can select more than one.'
required: false required: false
translatable: false translatable: false
default_value: { } default_value: { }
default_value_callback: '' default_value_callback: ''
settings: { } settings: { }
field_type: string field_type: list_string

View File

@ -4,15 +4,17 @@ dependencies:
config: config:
- field.storage.oc_actor.field_languages_spoken - field.storage.oc_actor.field_languages_spoken
- opencase_entities.oc_actor_type.volunteer - opencase_entities.oc_actor_type.volunteer
module:
- options
id: oc_actor.volunteer.field_languages_spoken id: oc_actor.volunteer.field_languages_spoken
field_name: field_languages_spoken field_name: field_languages_spoken
entity_type: oc_actor entity_type: oc_actor
bundle: volunteer bundle: volunteer
label: 'Languages spoken' label: 'Languages spoken'
description: '' description: 'Hold down <b>Ctrl</b> (or the Mac equivalent) while clicking, and you can select more than one.'
required: false required: false
translatable: true translatable: true
default_value: { } default_value: { }
default_value_callback: '' default_value_callback: ''
settings: { } settings: { }
field_type: string field_type: list_string

View File

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.oc_actor.field_osic_level
- opencase_entities.oc_actor_type.volunteer
module:
- options
id: oc_actor.volunteer.field_osic_level
field_name: field_osic_level
entity_type: oc_actor
bundle: volunteer
label: 'OSIC level'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

Some files were not shown because too many files have changed in this diff Show More