diff --git a/composer.lock b/composer.lock index 01a68d6..8219a60 100644 --- a/composer.lock +++ b/composer.lock @@ -64,7 +64,7 @@ "source": { "type": "git", "url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/goodnightout_opencase.git", - "reference": "49b149fff10f1948b06df3e62ee9191980c707b8" + "reference": "7ac730ad3d0158fd6da9df6d97dbc7fda4b9b97a" }, "require": { "drupal/admin_toolbar": "*", @@ -81,7 +81,7 @@ "email": "helo@autonomic.zone" } ], - "time": "2021-09-11T20:18:35+00:00" + "time": "2021-09-13T16:13:26+00:00" }, { "name": "autonomic/opencase", @@ -89,7 +89,7 @@ "source": { "type": "git", "url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/opencase.git", - "reference": "b1a8534d2984eb2e9f4ad59fe897a1d47d81f743" + "reference": "48e6ae4196c823d32cdc9447dec76e48ecd022f7" }, "require": { "composer/installers": "*", @@ -105,7 +105,7 @@ "email": "helo@autonomic.zone" } ], - "time": "2021-09-03T09:11:02+00:00" + "time": "2021-09-13T13:34:29+00:00" }, { "name": "bjeavons/zxcvbn-php", @@ -202,16 +202,16 @@ }, { "name": "composer/installers", - "version": "v1.11.0", + "version": "v1.12.0", "source": { "type": "git", "url": "https://github.com/composer/installers.git", - "reference": "ae03311f45dfe194412081526be2e003960df74b" + "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/installers/zipball/ae03311f45dfe194412081526be2e003960df74b", - "reference": "ae03311f45dfe194412081526be2e003960df74b", + "url": "https://api.github.com/repos/composer/installers/zipball/d20a64ed3c94748397ff5973488761b22f6d3f19", + "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19", "shasum": "" }, "require": { @@ -310,6 +310,7 @@ "modx", "moodle", "osclass", + "pantheon", "phpbb", "piwik", "ppi", @@ -330,7 +331,21 @@ "zend", "zikula" ], - "time": "2021-04-28T06:42:17+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2021-09-13T08:19:44+00:00" }, { "name": "composer/semver", diff --git a/config/core.base_field_override.oc_organisation_relation.link_between_clients.organisations.yml b/config/core.base_field_override.oc_organisation_relation.link_between_clients.organisations.yml index a12a7ea..4d18462 100644 --- a/config/core.base_field_override.oc_organisation_relation.link_between_clients.organisations.yml +++ b/config/core.base_field_override.oc_organisation_relation.link_between_clients.organisations.yml @@ -17,7 +17,10 @@ default_value: { } default_value_callback: '\Drupal\opencase_entities\Entity\OCOrganisationRelation::defaultValueCallback' settings: handler_settings: + view: + view_name: all_clients + display_name: entity_reference_1 target_bundles: - client - handler: default + handler: views field_type: entity_reference diff --git a/config/core.entity_form_display.oc_case.project.default.yml b/config/core.entity_form_display.oc_case.project.default.yml index 239b691..6fbdc58 100644 --- a/config/core.entity_form_display.oc_case.project.default.yml +++ b/config/core.entity_form_display.oc_case.project.default.yml @@ -16,15 +16,25 @@ targetEntityType: oc_case bundle: project mode: default content: + client: + type: entity_reference_autocomplete + weight: 0 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } field_contract_signed_date: - weight: 2 + weight: 3 settings: { } third_party_settings: { } type: datetime_default region: content field_fee: type: entity_reference_paragraphs - weight: 1 + weight: 2 settings: title: Paragraph title_plural: Paragraphs @@ -36,19 +46,18 @@ content: region: content files: type: file_generic - weight: 0 + weight: 1 settings: progress_indicator: throbber region: content third_party_settings: { } status: type: boolean_checkbox - weight: 3 + weight: 4 region: content settings: display_label: true third_party_settings: { } hidden: - client: true field_total_fee: true user_id: true diff --git a/config/field.field.oc_case.training.field_project.yml b/config/field.field.oc_case.training.field_project.yml index 5e86e20..beb5c8d 100644 --- a/config/field.field.oc_case.training.field_project.yml +++ b/config/field.field.oc_case.training.field_project.yml @@ -4,7 +4,6 @@ status: true dependencies: config: - field.storage.oc_case.field_project - - opencase_cases.oc_case_type.project - opencase_cases.oc_case_type.training id: oc_case.training.field_project field_name: field_project @@ -17,12 +16,10 @@ translatable: false default_value: { } default_value_callback: '' settings: - handler: 'default:oc_case' + handler: views handler_settings: - target_bundles: - project: project - sort: - field: _none - auto_create: false - auto_create_bundle: '' + view: + view_name: projects + display_name: entity_reference_1 + arguments: { } field_type: entity_reference diff --git a/config/field.field.oc_organisation.client.field_umbrella_client.yml b/config/field.field.oc_organisation.client.field_umbrella_client.yml index 40de0ab..cec6514 100644 --- a/config/field.field.oc_organisation.client.field_umbrella_client.yml +++ b/config/field.field.oc_organisation.client.field_umbrella_client.yml @@ -5,7 +5,6 @@ dependencies: config: - field.storage.oc_organisation.field_umbrella_client - opencase_entities.oc_organisation_type.client - - opencase_entities.oc_organisation_type.umbrella_client _core: default_config_hash: tIK3YfjqaKVW_2O0nXhBMu3VaM82TN4nIb5ecnX4zZY id: oc_organisation.client.field_umbrella_client @@ -19,12 +18,10 @@ translatable: false default_value: { } default_value_callback: '' settings: - handler: 'default:oc_organisation' + handler: views handler_settings: - target_bundles: - umbrella_client: umbrella_client - sort: - field: _none - auto_create: false - auto_create_bundle: '' + view: + view_name: all_umbrella_clients + display_name: entity_reference_1 + arguments: { } field_type: entity_reference diff --git a/config/field.field.paragraph.trainer.field_trainer.yml b/config/field.field.paragraph.trainer.field_trainer.yml index bdbb127..b74f47b 100644 --- a/config/field.field.paragraph.trainer.field_trainer.yml +++ b/config/field.field.paragraph.trainer.field_trainer.yml @@ -4,7 +4,6 @@ status: true dependencies: config: - field.storage.paragraph.field_trainer - - opencase_entities.oc_actor_type.trainer - paragraphs.paragraphs_type.trainer _core: default_config_hash: d9Ea50H6q3WNZweoghPEUnWEu8HsSdxaK0ExEn0Cyq4 @@ -19,12 +18,10 @@ translatable: false default_value: { } default_value_callback: '' settings: - handler: 'default:oc_actor' + handler: views handler_settings: - target_bundles: - trainer: trainer - sort: - field: _none - auto_create: false - auto_create_bundle: '' + view: + view_name: all_trainers + display_name: entity_reference_1 + arguments: { } field_type: entity_reference diff --git a/config/field.storage.oc_organisation.field_umbrella_client.yml b/config/field.storage.oc_organisation.field_umbrella_client.yml index e100a0e..a59f315 100644 --- a/config/field.storage.oc_organisation.field_umbrella_client.yml +++ b/config/field.storage.oc_organisation.field_umbrella_client.yml @@ -3,7 +3,11 @@ langcode: en status: true dependencies: module: + - field_permissions - opencase_entities +third_party_settings: + field_permissions: + permission_type: public _core: default_config_hash: 1U8GYQXtF_GX3zLP-YCI-xlO1LHVaC6yBcj8hcpcYSA id: oc_organisation.field_umbrella_client diff --git a/config/user.role.gno_standard_user.yml b/config/user.role.gno_standard_user.yml index e604d5c..85a4bed 100644 --- a/config/user.role.gno_standard_user.yml +++ b/config/user.role.gno_standard_user.yml @@ -20,6 +20,7 @@ permissions: - 'create paragraph content availability' - 'create paragraph content trainer' - 'create terms in tags' + - 'delete organisation relation entities' - 'delete paragraph content availability' - 'delete paragraph content trainer' - 'edit activity entities' diff --git a/config/views.view.all_clients.yml b/config/views.view.all_clients.yml index a344c2f..b5cfc16 100644 --- a/config/views.view.all_clients.yml +++ b/config/views.view.all_clients.yml @@ -16,6 +16,7 @@ dependencies: content: - 'taxonomy_term:clie:98d1370b-e29f-45fb-b053-b911c2538870' - 'taxonomy_term:clie:9915606c-1775-4f68-be24-ffaa629ee0b1' + - 'taxonomy_term:clie:c0c6397d-4f7c-4077-af51-1860ccad26a3' - 'taxonomy_term:client_status:057c3514-8413-463f-989e-cd8deda6c71c' module: - opencase_entities @@ -673,7 +674,7 @@ display: attachment_1: display_plugin: attachment id: attachment_1 - display_title: Attachment + display_title: 'Follow-ups due' position: 1 display_options: display_extenders: { } @@ -689,19 +690,6 @@ display: css_class: false empty: { } filters: - status: - value: '1' - table: oc_organisation_field_data - field: status - plugin_id: boolean - entity_type: oc_organisation - entity_field: status - id: status - expose: - operator: '' - operator_limit_selection: false - operator_list: { } - group: 1 type: id: type table: oc_organisation_field_data @@ -765,7 +753,7 @@ display: operator: AND groups: 1: AND - title: 'All clients' + title: 'Follow-ups due' header: { } displays: page_1: page_1 @@ -870,6 +858,166 @@ display: - 'config:field.storage.oc_organisation.field_client_subtype' - 'config:field.storage.oc_organisation.field_client_type' - 'config:field.storage.oc_organisation.field_tags' + entity_reference_1: + display_plugin: entity_reference + id: entity_reference_1 + display_title: 'Entity Reference' + position: 6 + display_options: + display_extenders: { } + filters: + type: + id: type + table: oc_organisation_field_data + field: type + value: + client: client + entity_type: oc_organisation + entity_field: type + plugin_id: bundle + expose: + operator_limit_selection: false + operator_list: { } + status: + id: status + table: oc_organisation_field_data + field: status + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '1' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + 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_organisation + entity_field: status + plugin_id: boolean + defaults: + filters: false + filter_groups: false + fields: false + filter_groups: + operator: AND + groups: + 1: AND + row: + type: entity_reference + options: + default_field_elements: true + inline: + name: name + separator: '-' + hide_empty: false + style: + type: entity_reference + options: + search_fields: + name: name + field_client_type: '0' + field_client_subtype: '0' + field_client_status: '0' + field_client_substatus: '0' + field_tags: '0' + status: '0' + fields: + name: + id: name + table: oc_organisation_field_data + field: name + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: null + entity_field: name + plugin_id: field + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - user.roles + tags: { } page_1: display_plugin: page id: page_1 @@ -892,8 +1040,8 @@ display: defaults: footer: false empty: false - filters: true - filter_groups: true + filters: false + filter_groups: false title: false header: false empty: { } @@ -910,12 +1058,78 @@ display: display_id: page_3 label: 'This display does not include closed clients. Click here to see them' plugin_id: display_link + filters: + type: + id: type + table: oc_organisation_field_data + field: type + value: + client: client + entity_type: oc_organisation + entity_field: type + plugin_id: bundle + expose: + operator_limit_selection: false + operator_list: { } + field_client_substatus_target_id: + id: field_client_substatus_target_id + table: oc_organisation__field_client_substatus + field: field_client_substatus_target_id + relationship: none + group_type: group + admin_label: '' + operator: not + value: + 25: 25 + 26: 26 + 42: 42 + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + 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: { } + reduce_duplicates: false + type: select + limit: true + vid: clie + hierarchy: false + error_message: true + plugin_id: taxonomy_index_tid + filter_groups: + operator: AND + groups: + 1: AND cache_metadata: max-age: -1 contexts: - 'languages:language_content' - 'languages:language_interface' - url.query_args + - user - user.roles tags: - 'config:field.storage.oc_organisation.field_client_status' @@ -1021,19 +1235,6 @@ display: empty: false footer: false filters: - status: - value: '1' - table: oc_organisation_field_data - field: status - plugin_id: boolean - entity_type: oc_organisation - entity_field: status - id: status - expose: - operator: '' - operator_limit_selection: false - operator_list: { } - group: 1 type: id: type table: oc_organisation_field_data diff --git a/config/views.view.all_trainers.yml b/config/views.view.all_trainers.yml index f468bdf..855cca9 100644 --- a/config/views.view.all_trainers.yml +++ b/config/views.view.all_trainers.yml @@ -71,6 +71,35 @@ display: 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 + 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 fields: @@ -139,6 +168,73 @@ display: entity_type: null entity_field: name plugin_id: field + status: + id: status + table: oc_actor_field_data + field: status + relationship: none + group_type: group + admin_label: '' + label: 'Publishing status' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_true: '' + format_custom_false: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: oc_actor + entity_field: status + plugin_id: field filters: type: id: type @@ -168,6 +264,86 @@ display: - url.query_args - user.roles tags: { } + entity_reference_1: + display_plugin: entity_reference + id: entity_reference_1 + display_title: 'Entity Reference' + position: 2 + display_options: + display_extenders: { } + filters: + type: + id: type + table: oc_actor_field_data + field: type + value: + trainer: trainer + entity_type: oc_actor + entity_field: type + plugin_id: bundle + expose: + operator_limit_selection: false + operator_list: { } + status: + id: status + table: oc_actor_field_data + field: status + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '1' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + 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_actor + entity_field: status + plugin_id: boolean + defaults: + filters: false + filter_groups: false + filter_groups: + operator: AND + groups: + 1: AND + style: + type: entity_reference + options: + search_fields: + name: name + status: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - user.roles + tags: { } page_1: display_plugin: page id: page_1 diff --git a/config/views.view.all_umbrella_clients.yml b/config/views.view.all_umbrella_clients.yml index 6d1d188..7c9350e 100644 --- a/config/views.view.all_umbrella_clients.yml +++ b/config/views.view.all_umbrella_clients.yml @@ -76,7 +76,7 @@ display: type: table options: grouping: { } - row_class: '' + row_class: '{{ status }}' default_row_class: true override: true sticky: false @@ -85,6 +85,9 @@ display: description: '' columns: name: name + field_type_of_umbrella_client: field_type_of_umbrella_client + field_tags: field_tags + status: status info: name: sortable: false @@ -93,6 +96,25 @@ display: 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: @@ -293,20 +315,74 @@ display: separator: ', ' field_api_classes: false plugin_id: field - filters: status: - value: '1' + id: status table: oc_organisation_field_data field: status - plugin_id: boolean + relationship: none + group_type: group + admin_label: '' + label: Published + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_true: '' + format_custom_false: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false entity_type: oc_organisation entity_field: status - id: status - expose: - operator: '' - operator_limit_selection: false - operator_list: { } - group: 1 + plugin_id: field + filters: type: id: type table: oc_organisation_field_data @@ -351,6 +427,152 @@ display: tags: - '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' + position: 2 + display_options: + display_extenders: { } + fields: + name: + id: name + table: oc_organisation_field_data + field: name + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + 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 + expose: + operator_limit_selection: false + operator_list: { } + status: + id: status + table: oc_organisation_field_data + field: status + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '1' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + 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_organisation + entity_field: status + plugin_id: boolean + filter_groups: + operator: AND + groups: + 1: AND + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - user.roles + tags: { } page_1: display_plugin: page id: page_1 diff --git a/config/views.view.debriefs.yml b/config/views.view.debriefs.yml index 76f2393..988d494 100644 --- a/config/views.view.debriefs.yml +++ b/config/views.view.debriefs.yml @@ -75,7 +75,7 @@ display: type: table options: grouping: { } - row_class: '' + row_class: '{{ status }}' default_row_class: true override: true sticky: false @@ -83,17 +83,33 @@ display: summary: 'Trainer Debrief' description: '' columns: - name: name activity_date_time: activity_date_time + field_trainer: field_trainer + view_oc_activity: view_oc_activity + status: status info: - name: + activity_date_time: sortable: false default_sort_order: asc align: '' separator: '' empty_column: false responsive: '' - activity_date_time: + field_trainer: + 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: '' + status: sortable: false default_sort_order: asc align: '' @@ -247,6 +263,73 @@ display: plugin_id: entity_link output_url_as_text: false absolute: false + status: + id: status + table: oc_activity_field_data + field: status + relationship: none + group_type: group + admin_label: '' + label: 'Publishing status' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_true: '' + format_custom_false: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: oc_activity + entity_field: status + plugin_id: field filters: type: id: type diff --git a/config/views.view.evaluations.yml b/config/views.view.evaluations.yml index 9041ea2..b024adf 100644 --- a/config/views.view.evaluations.yml +++ b/config/views.view.evaluations.yml @@ -74,7 +74,7 @@ display: type: table options: grouping: { } - row_class: '' + row_class: '{{ status }}' default_row_class: true override: true sticky: false @@ -84,6 +84,7 @@ display: columns: name: name activity_date_time: activity_date_time + status: status info: name: sortable: false @@ -99,6 +100,13 @@ display: separator: '' empty_column: false responsive: '' + status: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' default: '-1' empty_table: false row: @@ -240,6 +248,73 @@ display: entity_type: oc_activity entity_field: activity_date_time plugin_id: field + status: + id: status + table: oc_activity_field_data + field: status + relationship: none + group_type: group + admin_label: '' + label: 'Publishing status' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_true: '' + format_custom_false: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: oc_activity + entity_field: status + plugin_id: field filters: type: id: type diff --git a/config/views.view.partner_organisations.yml b/config/views.view.partner_organisations.yml index 55f667c..e63d585 100644 --- a/config/views.view.partner_organisations.yml +++ b/config/views.view.partner_organisations.yml @@ -69,6 +69,35 @@ display: 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 fields: @@ -137,20 +166,74 @@ display: entity_type: null entity_field: name plugin_id: field - filters: status: - value: '1' + id: status table: oc_organisation_field_data field: status - plugin_id: boolean + relationship: none + group_type: group + admin_label: '' + label: Published + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_true: '' + format_custom_false: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false entity_type: oc_organisation entity_field: status - id: status - expose: - operator: '' - operator_limit_selection: false - operator_list: { } - group: 1 + plugin_id: field + filters: type: id: type table: oc_organisation_field_data diff --git a/config/views.view.projects.yml b/config/views.view.projects.yml index 7ce8974..7438e68 100644 --- a/config/views.view.projects.yml +++ b/config/views.view.projects.yml @@ -635,6 +635,152 @@ display: tags: - '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' + position: 3 + display_options: + display_extenders: { } + fields: + name: + id: name + table: oc_case_field_data + field: name + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + 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 + expose: + operator_limit_selection: false + operator_list: { } + status: + id: status + table: oc_case_field_data + field: status + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '1' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + 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: status + plugin_id: boolean + filter_groups: + operator: AND + groups: + 1: AND + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - user.roles + tags: { } page_1: display_plugin: page id: page_1