Core update + config for auth user being able to see own cases & debriefs

This commit is contained in:
2022-01-20 14:54:38 +00:00
parent 315ea3d580
commit 673aa6bd8d
21 changed files with 2090 additions and 2089 deletions

View File

@ -1,12 +1,12 @@
favicon:
mimetype: image/png
path: 'modules/contrib/goodnightout_opencase/images/Screenshot from 2021-09-01 13-01-43_0.png'
use_default: false
features:
node_user_picture: true
comment_user_picture: true
comment_user_verification: true
favicon: true
node_user_picture: true
logo:
use_default: false
path: modules/contrib/goodnightout_opencase/images/GNO-logo.png
favicon:
use_default: false
path: 'modules/contrib/goodnightout_opencase/images/Screenshot from 2021-09-01 13-01-43_0.png'
mimetype: image/png

View File

@ -17,24 +17,39 @@ bundle: user
mode: default
content:
account:
weight: -10
region: content
contact:
weight: 5
region: content
language:
weight: 0
region: content
settings: { }
third_party_settings: { }
contact:
weight: 4
region: content
settings: { }
third_party_settings: { }
field_linked_opencase_actor:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
language:
weight: 3
region: content
settings: { }
third_party_settings: { }
timezone:
weight: 6
region: content
user_picture:
type: image_image
weight: 2
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
weight: -1
region: content
hidden:
field_linked_opencase_actor: true
hidden: { }

View File

@ -28,7 +28,7 @@ content:
activities:
settings: { }
third_party_settings: { }
weight: 0
weight: 12
region: content
activities_entity_view_1:
settings: { }
@ -41,12 +41,12 @@ content:
settings:
link: true
third_party_settings: { }
weight: 1
weight: 0
region: content
debriefs:
settings: { }
third_party_settings: { }
weight: 11
weight: 10
region: content
debriefs_entity_view_1:
settings: { }
@ -56,7 +56,7 @@ content:
evaluations:
settings: { }
third_party_settings: { }
weight: 12
weight: 11
region: content
evaluations_entity_view_1:
settings: { }
@ -70,7 +70,7 @@ content:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 5
weight: 4
region: content
field_fee:
type: number_decimal
@ -97,7 +97,7 @@ content:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 7
weight: 6
region: content
field_project:
type: entity_reference_label
@ -105,7 +105,7 @@ content:
settings:
link: true
third_party_settings: { }
weight: 2
weight: 1
region: content
field_social_media:
type: boolean
@ -115,28 +115,28 @@ content:
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 8
weight: 7
region: content
field_training_delivery_format:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 6
weight: 5
region: content
field_training_status:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 4
weight: 3
region: content
field_training_type:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 3
weight: 2
region: content
files:
type: file_default
@ -144,7 +144,7 @@ content:
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 9
weight: 8
region: content
notes:
type: basic_string
@ -156,7 +156,7 @@ content:
trainers:
settings: { }
third_party_settings: { }
weight: 10
weight: 9
region: content
user_id:
type: author

View File

@ -16,18 +16,27 @@ targetEntityType: user
bundle: user
mode: default
content:
field_linked_opencase_actor:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 0
region: content
member_for:
weight: 5
settings: { }
third_party_settings: { }
weight: 2
region: content
user_picture:
type: image
weight: 0
region: content
settings:
image_style: thumbnail
image_link: content
third_party_settings: { }
label: hidden
settings:
image_link: content
image_style: thumbnail
third_party_settings: { }
weight: 1
region: content
hidden:
field_linked_opencase_actor: true
search_api_excerpt: true

View File

@ -26,19 +26,19 @@ field_type_config:
field_type_condition:
'entity_bundle:oc_case':
id: 'entity_bundle:oc_case'
bundles:
training: training
negate: false
context_mapping:
oc_case: entity_extra_field.target_entity
negate: false
bundles:
training: training
route:
id: route
routes: ''
negate: false
routes: ''
request_path:
id: request_path
pages: ''
negate: false
pages: ''
current_theme:
id: current_theme
theme: ''

View File

@ -24,23 +24,23 @@ field_type_config:
field_type_condition:
'entity_bundle:oc_case':
id: 'entity_bundle:oc_case'
bundles:
training: training
negate: false
context_mapping:
oc_case: entity_extra_field.target_entity
negate: false
bundles:
training: training
route:
id: route
routes: ''
negate: false
routes: ''
current_theme:
id: current_theme
theme: ''
negate: 0
request_path:
id: request_path
pages: ''
negate: false
pages: ''
field_conditions_all_pass: false
display:
type: view

View File

@ -1,3 +1,6 @@
_core:
default_config_hash: yTxtFqBHnEWxQswuWvkjE8mKw2t8oKuCL1q8KnfHuGE
langcode: en
uuid: 8061a200-27ed-4d40-8fc0-e239276e66dd
name: GNO
mail: no-reply@dev.autonomic.zone
@ -5,11 +8,8 @@ slogan: ''
page:
403: /user/login
404: ''
front: /opencase/all-clients
front: /opencase/trainings/all
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en
_core:
default_config_hash: yTxtFqBHnEWxQswuWvkjE8mKw2t8oKuCL1q8KnfHuGE
mail_notification: ''

View File

@ -6,7 +6,7 @@ dependencies:
- taxonomy.vocabulary.tags
module:
- comment
- opencase
- opencase_cases
- opencase_entities
- system
- taxonomy
@ -32,19 +32,16 @@ permissions:
- 'delete paragraph content availability'
- 'delete paragraph content trainer'
- 'edit activity entities'
- 'edit case entities'
- 'edit event entities'
- 'edit organisation entities'
- 'edit organisation relation entities'
- 'edit trainer entities'
- 'update paragraph content availability'
- 'update paragraph content trainer'
- 'use opencase'
- 'view paragraph content availability'
- 'view paragraph content trainer'
- 'view published activity entities'
- 'view published case entities'
- 'view published case provision entities'
- 'view published event entities'
- 'view published organisation entities'
- 'view published organisation relation entities'
- 'view published trainer entities'

View File

@ -1,9 +1,12 @@
uuid: 53c0d18d-4e94-4997-9b59-7f2d5e1770e4
langcode: en
status: true
dependencies: { }
dependencies:
module:
- opencase_entities
id: follow_up_alerts
label: 'Follow-up alerts'
weight: 5
is_admin: null
permissions: { }
permissions:
- 'view published trainer entities'

View File

@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
module:
- opencase
- opencase_cases
- opencase_entities
id: gno_admin_user
@ -25,12 +26,16 @@ permissions:
- 'delete event entities'
- 'delete organisation entities'
- 'delete trainer entities'
- 'edit case entities'
- 'edit case provision entities'
- 'edit equal opps entities'
- 'use opencase'
- 'view edit delete all actor entities'
- 'view published case entities'
- 'view published case fee entities'
- 'view published case provision entities'
- 'view published equal opps entities'
- 'view published trainer entities'
- 'view unpublished activity entities'
- 'view unpublished actor entities'
- 'view unpublished bank account entities'

View File

@ -5,6 +5,7 @@ dependencies:
config:
- opencase_entities.oc_activity_type.evaluation
- opencase_entities.oc_activity_type.trainer_debrief
- user.role.administrator
- user.role.gno_admin_user
module:
- datetime
@ -427,6 +428,7 @@ display:
type: role
options:
role:
administrator: administrator
gno_admin_user: gno_admin_user
cache:
type: tag

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,8 @@ dependencies:
config:
- opencase_entities.oc_actor_type.trainer
- system.menu.opencase
- user.role.authenticated
- user.role.administrator
- user.role.gno_admin_user
module:
- opencase_entities
- user
@ -191,7 +192,8 @@ display:
type: role
options:
role:
authenticated: authenticated
administrator: administrator
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }

View File

@ -7,7 +7,8 @@ dependencies:
- field.storage.oc_organisation.field_type_of_umbrella_client
- opencase_entities.oc_organisation_type.umbrella_client
- system.menu.opencase
- user.role.authenticated
- user.role.administrator
- user.role.gno_admin_user
module:
- opencase_entities
- options
@ -23,107 +24,12 @@ base_table: oc_organisation_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 50
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:
type: table
options:
grouping: { }
row_class: '{{ status }}'
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
name: name
field_type_of_umbrella_client: field_type_of_umbrella_client
field_tags: field_tags
status: status
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_type_of_umbrella_client:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_tags:
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row:
type: fields
options:
inline: { }
separator: ''
hide_empty: false
default_field_elements: true
title: 'All Umbrella Clients'
fields:
name:
id: name
@ -132,6 +38,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Name
exclude: false
alter:
@ -187,9 +96,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
field_type_of_umbrella_client:
id: field_type_of_umbrella_client
table: oc_organisation__field_type_of_umbrella_client
@ -197,6 +103,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Type
exclude: false
alter:
@ -251,7 +158,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_tags:
id: field_tags
table: oc_organisation__field_tags
@ -259,6 +165,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Tags
exclude: false
alter:
@ -314,7 +221,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
status:
id: status
table: oc_organisation_field_data
@ -322,6 +228,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_organisation
entity_field: status
plugin_id: field
label: Published
exclude: true
alter:
@ -367,8 +276,8 @@ display:
type: boolean
settings:
format: default
format_custom_true: ''
format_custom_false: ''
format_custom_true: ''
group_column: value
group_columns: { }
group_rows: true
@ -379,22 +288,44 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_organisation
entity_field: status
plugin_id: field
filters:
type:
id: type
table: oc_organisation_field_data
field: type
value:
umbrella_client: umbrella_client
entity_type: oc_organisation
entity_field: type
plugin_id: bundle
pager:
type: mini
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next:
previous:
expose:
operator_limit_selection: false
operator_list: { }
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
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: role
options:
role:
administrator: administrator
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
empty: { }
sorts:
name:
id: name
@ -403,20 +334,92 @@ display:
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
entity_type: oc_organisation
entity_field: name
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: name
exposed: false
arguments: { }
filters:
type:
id: type
table: oc_organisation_field_data
field: type
entity_type: oc_organisation
entity_field: type
plugin_id: bundle
value:
umbrella_client: umbrella_client
expose:
operator_limit_selection: false
operator_list: { }
style:
type: table
options:
grouping: { }
row_class: '{{ status }}'
default_row_class: true
columns:
name: name
field_type_of_umbrella_client: field_type_of_umbrella_client
field_tags: field_tags
status: status
default: '-1'
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_type_of_umbrella_client:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_tags:
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
empty: { }
relationships: { }
arguments: { }
display_extenders: { }
title: 'All Umbrella Clients'
cache_metadata:
max-age: -1
contexts:
@ -428,12 +431,11 @@ display:
- 'config:field.storage.oc_organisation.field_tags'
- 'config:field.storage.oc_organisation.field_type_of_umbrella_client'
entity_reference_1:
display_plugin: entity_reference
id: entity_reference_1
display_title: 'Entity Reference'
display_plugin: entity_reference
position: 2
display_options:
display_extenders: { }
fields:
name:
id: name
@ -442,6 +444,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: ''
exclude: false
alter:
@ -497,28 +502,16 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
defaults:
fields: false
filters: false
filter_groups: false
style:
type: entity_reference
options:
search_fields:
name: name
filters:
type:
id: type
table: oc_organisation_field_data
field: type
value:
umbrella_client: umbrella_client
entity_type: oc_organisation
entity_field: type
plugin_id: bundle
value:
umbrella_client: umbrella_client
expose:
operator_limit_selection: false
operator_list: { }
@ -529,6 +522,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_organisation
entity_field: status
plugin_id: boolean
operator: '='
value: '1'
group: 1
@ -559,13 +555,20 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: oc_organisation
entity_field: status
plugin_id: boolean
filter_groups:
operator: AND
groups:
1: AND
style:
type: entity_reference
options:
search_fields:
name: name
defaults:
fields: false
filters: false
filter_groups: false
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
@ -574,9 +577,9 @@ display:
- user.roles
tags: { }
page_1:
display_plugin: page
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
@ -585,11 +588,11 @@ display:
type: normal
title: 'Umbrella clients'
description: ''
expanded: false
parent: opencase.see_all
weight: -49
context: '0'
expanded: false
menu_name: opencase
parent: opencase.see_all
context: '0'
cache_metadata:
max-age: -1
contexts:

View File

@ -15,7 +15,7 @@ dependencies:
- system.menu.opencase
- taxonomy.vocabulary.client_status
- taxonomy.vocabulary.tags
- user.role.authenticated
- user.role.administrator
- user.role.gno_admin_user
module:
- better_exposed_filters
@ -753,7 +753,7 @@ display:
type: role
options:
role:
authenticated: authenticated
administrator: administrator
gno_admin_user: gno_admin_user
cache:
type: tag

View File

@ -332,10 +332,9 @@ display:
output_url_as_text: false
absolute: false
pager:
type: some
type: none
options:
offset: 0
items_per_page: 1
exposed_form:
type: basic
options:
@ -457,8 +456,8 @@ display:
default_row_class: true
columns:
field_trainer: field_trainer
activity_date_time: activity_date_time
status: status
created: created
view_oc_activity: view_oc_activity
edit_oc_activity: edit_oc_activity
default: '-1'
@ -470,14 +469,14 @@ display:
separator: ''
empty_column: false
responsive: ''
activity_date_time:
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
status:
created:
sortable: false
default_sort_order: asc
align: ''

View File

@ -4,7 +4,8 @@ status: true
dependencies:
config:
- opencase_entities.oc_activity_type.evaluation
- user.role.authenticated
- user.role.administrator
- user.role.gno_admin_user
module:
- datetime
- opencase_cases
@ -21,117 +22,11 @@ base_table: oc_activity_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 50
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:
type: table
options:
grouping: { }
row_class: '{{ status }}'
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
name: name
activity_date_time: activity_date_time
status: status
view_oc_activity: view_oc_activity
edit_oc_activity: edit_oc_activity
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
activity_date_time:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
view_oc_activity:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
edit_oc_activity:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row:
type: fields
options:
inline: { }
separator: ''
hide_empty: false
default_field_elements: true
fields:
name:
id: name
@ -140,6 +35,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Subject
exclude: false
alter:
@ -195,9 +93,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
activity_date_time:
id: activity_date_time
table: oc_activity_field_data
@ -205,6 +100,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
entity_field: activity_date_time
plugin_id: field
label: Date
exclude: false
alter:
@ -261,9 +159,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_activity
entity_field: activity_date_time
plugin_id: field
status:
id: status
table: oc_activity_field_data
@ -271,6 +166,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
entity_field: status
plugin_id: field
label: 'Publishing status'
exclude: true
alter:
@ -316,8 +214,8 @@ display:
type: boolean
settings:
format: default
format_custom_true: ''
format_custom_false: ''
format_custom_true: ''
group_column: value
group_columns: { }
group_rows: true
@ -328,9 +226,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_activity
entity_field: status
plugin_id: field
view_oc_activity:
id: view_oc_activity
table: oc_activity
@ -338,6 +233,8 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
plugin_id: entity_link
label: ''
exclude: false
alter:
@ -382,8 +279,6 @@ display:
text: view
output_url_as_text: false
absolute: false
entity_type: oc_activity
plugin_id: entity_link
edit_oc_activity:
id: edit_oc_activity
table: oc_activity
@ -391,6 +286,8 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
plugin_id: entity_link_edit
label: ''
exclude: false
alter:
@ -435,35 +332,43 @@ display:
text: edit
output_url_as_text: false
absolute: false
entity_type: oc_activity
plugin_id: entity_link_edit
filters:
type:
id: type
table: oc_activity_field_data
field: type
value:
evaluation: evaluation
entity_type: oc_activity
entity_field: type
plugin_id: bundle
pager:
type: mini
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next:
previous:
expose:
operator_limit_selection: false
operator_list: { }
sorts: { }
header: { }
footer:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: true
content: "<a class=\"button\" href=\"/opencase/oc_activity/add/evaluation?case_id={{ raw_arguments.oc_case }}&destination=/opencase/oc_case/{{ raw_arguments.oc_case }}\">Add evaluation</a>\r\n<br />"
plugin_id: text_custom
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
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: role
options:
role:
administrator: administrator
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
empty:
area:
id: area
@ -472,24 +377,13 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: text
empty: true
tokenize: false
content:
value: 'Evaluations will appear here once they are added.'
format: full_html
plugin_id: text
relationships:
oc_case:
id: oc_case
table: oc_activity_field_data
field: oc_case
relationship: none
group_type: group
admin_label: Case
required: true
entity_type: oc_activity
entity_field: oc_case
plugin_id: standard
tokenize: false
sorts: { }
arguments:
oc_case:
id: oc_case
@ -498,6 +392,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
entity_field: oc_case
plugin_id: numeric
default_action: default
exception:
value: all
@ -513,8 +410,8 @@ display:
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
@ -526,9 +423,114 @@ display:
validate_options: { }
break_phrase: false
not: false
filters:
type:
id: type
table: oc_activity_field_data
field: type
entity_type: oc_activity
entity_field: type
plugin_id: bundle
value:
evaluation: evaluation
expose:
operator_limit_selection: false
operator_list: { }
style:
type: table
options:
grouping: { }
row_class: '{{ status }}'
default_row_class: true
columns:
name: name
activity_date_time: activity_date_time
status: status
view_oc_activity: view_oc_activity
edit_oc_activity: edit_oc_activity
default: '-1'
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
activity_date_time:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
view_oc_activity:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
edit_oc_activity:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships:
oc_case:
id: oc_case
table: oc_activity_field_data
field: oc_case
relationship: none
group_type: group
admin_label: Case
entity_type: oc_activity
entity_field: oc_case
plugin_id: numeric
plugin_id: standard
required: true
header: { }
footer:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: "<a class=\"button\" href=\"/opencase/oc_activity/add/evaluation?case_id={{ raw_arguments.oc_case }}&destination=/opencase/oc_case/{{ raw_arguments.oc_case }}\">Add evaluation</a>\r\n<br />"
tokenize: true
display_extenders: { }
cache_metadata:
max-age: -1
@ -540,13 +542,13 @@ display:
- user.roles
tags: { }
block_1:
display_plugin: block
id: block_1
display_title: Block
display_plugin: block
position: 1
display_options:
display_extenders: { }
title: Evaluations
display_extenders: { }
cache_metadata:
max-age: -1
contexts:

View File

@ -5,7 +5,8 @@ dependencies:
config:
- opencase_entities.oc_organisation_type.partner_organisation
- system.menu.opencase
- user.role.authenticated
- user.role.administrator
- user.role.gno_admin_user
module:
- opencase_entities
- user
@ -18,88 +19,12 @@ base_table: oc_organisation_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 50
offset: 0
id: 0
total_pages: null
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
tags:
previous:
next:
style:
type: table
options:
grouping: { }
row_class: '{{ status }}'
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
name: name
status: status
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row:
type: fields
title: 'Partner Organisations'
fields:
name:
id: name
@ -108,6 +33,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Name
exclude: false
alter:
@ -163,9 +91,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
status:
id: status
table: oc_organisation_field_data
@ -173,6 +98,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_organisation
entity_field: status
plugin_id: field
label: Published
exclude: true
alter:
@ -218,8 +146,8 @@ display:
type: boolean
settings:
format: default
format_custom_true: ''
format_custom_false: ''
format_custom_true: ''
group_column: value
group_columns: { }
group_rows: true
@ -230,29 +158,103 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_organisation
entity_field: status
plugin_id: field
pager:
type: mini
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next:
previous:
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
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: role
options:
role:
administrator: administrator
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments: { }
filters:
type:
id: type
table: oc_organisation_field_data
field: type
value:
partner_organisation: partner_organisation
entity_type: oc_organisation
entity_field: type
plugin_id: bundle
value:
partner_organisation: partner_organisation
expose:
operator_limit_selection: false
operator_list: { }
sorts: { }
title: 'Partner Organisations'
style:
type: table
options:
grouping: { }
row_class: '{{ status }}'
default_row_class: true
columns:
name: name
status: status
default: '-1'
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
empty: { }
relationships: { }
arguments: { }
display_extenders: { }
cache_metadata:
max-age: -1
@ -263,9 +265,9 @@ display:
- user.roles
tags: { }
page_1:
display_plugin: page
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
@ -274,11 +276,11 @@ display:
type: normal
title: 'Partner Organisations'
description: ''
expanded: false
parent: opencase.see_all
weight: -44
context: '0'
expanded: false
menu_name: opencase
parent: opencase.see_all
context: '0'
cache_metadata:
max-age: -1
contexts:

View File

@ -7,7 +7,8 @@ dependencies:
- field.storage.oc_case.field_total_fee
- opencase_cases.oc_case_type.project
- system.menu.opencase
- user.role.authenticated
- user.role.administrator
- user.role.gno_admin_user
module:
- datetime
- opencase_cases
@ -21,59 +22,12 @@ base_table: oc_case_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 50
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:
type: table
row:
type: fields
title: Projects
fields:
name:
id: name
@ -82,6 +36,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Title
exclude: false
alter:
@ -137,9 +94,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
client:
id: client
table: oc_case_field_data
@ -147,6 +101,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case
entity_field: client
plugin_id: field
label: Client
exclude: false
alter:
@ -202,9 +159,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_case
entity_field: client
plugin_id: field
field_contract_signed_date:
id: field_contract_signed_date
table: oc_case__field_contract_signed_date
@ -212,6 +166,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Contract signed date'
exclude: false
alter:
@ -268,7 +223,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_total_fee:
id: field_total_fee
table: oc_case__field_total_fee
@ -276,6 +230,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Total fee'
exclude: false
alter:
@ -321,9 +276,9 @@ display:
type: number_decimal
settings:
thousand_separator: ''
prefix_suffix: true
decimal_separator: .
scale: 2
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
@ -334,27 +289,74 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
pager:
type: mini
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next:
previous:
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
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: role
options:
role:
administrator: administrator
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments: { }
filters:
type:
id: type
table: oc_case_field_data
field: type
value:
project: project
entity_type: oc_case
entity_field: type
plugin_id: bundle
value:
project: project
expose:
operator_limit_selection: false
operator_list: { }
sorts: { }
title: Projects
style:
type: table
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
empty: { }
relationships: { }
arguments: { }
display_extenders: { }
cache_metadata:
max-age: -1
@ -367,67 +369,11 @@ display:
- 'config:field.storage.oc_case.field_contract_signed_date'
- 'config:field.storage.oc_case.field_total_fee'
block_1:
display_plugin: block
id: block_1
display_title: Block
display_plugin: block
position: 2
display_options:
display_extenders: { }
arguments:
client:
id: client
table: oc_case_field_data
field: client
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
entity_type: oc_case
entity_field: client
plugin_id: numeric
defaults:
arguments: false
footer: false
fields: false
footer:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: true
content: '<a class="button" href="/opencase/oc_case/add/project?client_id={{ raw_arguments.client }}&destination=/opencase/oc_organisation/{{ raw_arguments.client }}">Add project</a><br /><br />'
plugin_id: text_custom
fields:
name:
id: name
@ -436,6 +382,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Title
exclude: false
alter:
@ -491,9 +440,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
field_contract_signed_date:
id: field_contract_signed_date
table: oc_case__field_contract_signed_date
@ -501,6 +447,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Contract signed date'
exclude: false
alter:
@ -557,7 +504,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_total_fee:
id: field_total_fee
table: oc_case__field_total_fee
@ -565,6 +511,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Total fee'
exclude: false
alter:
@ -610,9 +557,9 @@ display:
type: number_decimal
settings:
thousand_separator: ''
prefix_suffix: true
decimal_separator: .
scale: 2
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
@ -623,7 +570,62 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
arguments:
client:
id: client
table: oc_case_field_data
field: client
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case
entity_field: client
plugin_id: numeric
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
defaults:
fields: false
arguments: false
footer: false
footer:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: '<a class="button" href="/opencase/oc_case/add/project?client_id={{ raw_arguments.client }}&destination=/opencase/oc_organisation/{{ raw_arguments.client }}">Add project</a><br /><br />'
tokenize: true
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
@ -636,12 +638,11 @@ display:
- 'config:field.storage.oc_case.field_contract_signed_date'
- 'config:field.storage.oc_case.field_total_fee'
entity_reference_1:
display_plugin: entity_reference
id: entity_reference_1
display_title: 'Entity Reference'
display_plugin: entity_reference
position: 3
display_options:
display_extenders: { }
fields:
name:
id: name
@ -650,6 +651,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: ''
exclude: false
alter:
@ -705,28 +709,16 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
defaults:
fields: false
filters: false
filter_groups: false
style:
type: entity_reference
options:
search_fields:
name: name
filters:
type:
id: type
table: oc_case_field_data
field: type
value:
project: project
entity_type: oc_case
entity_field: type
plugin_id: bundle
value:
project: project
expose:
operator_limit_selection: false
operator_list: { }
@ -737,6 +729,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case
entity_field: status
plugin_id: boolean
operator: '='
value: '1'
group: 1
@ -767,13 +762,20 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: oc_case
entity_field: status
plugin_id: boolean
filter_groups:
operator: AND
groups:
1: AND
style:
type: entity_reference
options:
search_fields:
name: name
defaults:
fields: false
filters: false
filter_groups: false
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
@ -782,25 +784,25 @@ display:
- user.roles
tags: { }
page_1:
display_plugin: page
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
path: opencase/projects
footer: { }
defaults:
footer: false
footer: { }
display_extenders: { }
path: opencase/projects
menu:
type: normal
title: Projects
description: ''
expanded: false
parent: opencase.see_all
weight: 10
context: '0'
expanded: false
menu_name: opencase
parent: opencase.see_all
context: '0'
cache_metadata:
max-age: -1
contexts:

File diff suppressed because it is too large Load Diff