From 971794c04c4e72d37cfd192d95b7398b39705a50 Mon Sep 17 00:00:00 2001 From: naomi Date: Mon, 13 Sep 2021 08:59:29 +0100 Subject: [PATCH] Config - changed default date format and added follow-ups due at top of client list --- config/core.date_format.short.yml | 2 +- ...y_view_display.oc_case.project.default.yml | 2 +- config/system.date.yml | 2 +- config/views.view.all_clients.yml | 165 +++++++++++++++++- config/views.view.projects.yml | 2 +- 5 files changed, 168 insertions(+), 5 deletions(-) diff --git a/config/core.date_format.short.yml b/config/core.date_format.short.yml index 18fa46b..51980f3 100644 --- a/config/core.date_format.short.yml +++ b/config/core.date_format.short.yml @@ -7,4 +7,4 @@ _core: id: short label: 'Default short date' locked: false -pattern: 'm/d/Y - H:i' +pattern: d-M-Y diff --git a/config/core.entity_view_display.oc_case.project.default.yml b/config/core.entity_view_display.oc_case.project.default.yml index fc91273..8d0ead2 100644 --- a/config/core.entity_view_display.oc_case.project.default.yml +++ b/config/core.entity_view_display.oc_case.project.default.yml @@ -29,8 +29,8 @@ content: weight: 2 label: above settings: - format_type: medium timezone_override: '' + format_type: short third_party_settings: { } type: datetime_default region: content diff --git a/config/system.date.yml b/config/system.date.yml index 959a34d..0aae682 100644 --- a/config/system.date.yml +++ b/config/system.date.yml @@ -4,7 +4,7 @@ first_day: 0 timezone: default: Europe/London user: - configurable: true + configurable: false warn: false default: 0 _core: diff --git a/config/views.view.all_clients.yml b/config/views.view.all_clients.yml index 822f3a5..aebd223 100644 --- a/config/views.view.all_clients.yml +++ b/config/views.view.all_clients.yml @@ -10,10 +10,13 @@ dependencies: - field.storage.oc_organisation.field_tags - opencase_entities.oc_organisation_type.client - system.menu.opencase + - taxonomy.vocabulary.clie - taxonomy.vocabulary.client_status - user.role.authenticated content: - - 'taxonomy_term:client_status:2397c3f5-8d18-4e4f-956e-404c62614135' + - 'taxonomy_term:clie:98d1370b-e29f-45fb-b053-b911c2538870' + - 'taxonomy_term:clie:9915606c-1775-4f68-be24-ffaa629ee0b1' + - 'taxonomy_term:client_status:057c3514-8413-463f-989e-cd8deda6c71c' module: - opencase_entities - taxonomy @@ -546,6 +549,119 @@ display: - 'config:field.storage.oc_organisation.field_client_subtype' - 'config:field.storage.oc_organisation.field_client_type' - 'config:field.storage.oc_organisation.field_tags' + attachment_1: + display_plugin: attachment + id: attachment_1 + display_title: Attachment + position: 1 + display_options: + display_extenders: { } + display_description: '' + footer: { } + defaults: + footer: false + empty: false + filters: false + filter_groups: false + title: false + header: false + 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 + 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: or + value: + 25: 25 + 26: 26 + 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 + title: 'All clients' + header: { } + displays: + page_1: page_1 + css_class: follow-ups-due + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - user + - user.roles + tags: + - 'config:field.storage.oc_organisation.field_client_status' + - 'config:field.storage.oc_organisation.field_client_substatus' + - 'config:field.storage.oc_organisation.field_client_subtype' + - 'config:field.storage.oc_organisation.field_client_type' + - 'config:field.storage.oc_organisation.field_tags' block_1: display_plugin: block id: block_1 @@ -732,6 +848,53 @@ display: hierarchy: false error_message: true plugin_id: taxonomy_index_tid + 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 + 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: diff --git a/config/views.view.projects.yml b/config/views.view.projects.yml index 014d97f..3d1901c 100644 --- a/config/views.view.projects.yml +++ b/config/views.view.projects.yml @@ -257,7 +257,7 @@ display: type: datetime_default settings: timezone_override: '' - format_type: medium + format_type: short group_column: value group_columns: { } group_rows: true