From 673aa6bd8d4a72dc4158019a8db499f99c4820f9 Mon Sep 17 00:00:00 2001 From: naomi Date: Thu, 20 Jan 2022 14:54:38 +0000 Subject: [PATCH] Core update + config for auth user being able to see own cases & debriefs --- composer.lock | 147 +- config/bartik.settings.yml | 10 +- ....entity_form_display.user.user.default.yml | 35 +- ..._view_display.oc_case.training.default.yml | 26 +- ....entity_view_display.user.user.default.yml | 25 +- ....extra_field.oc_case.training.debriefs.yml | 10 +- ...tra_field.oc_case.training.evaluations.yml | 10 +- config/system.site.yml | 8 +- config/user.role.authenticated.yml | 7 +- config/user.role.follow_up_alerts.yml | 7 +- config/user.role.gno_admin_user.yml | 5 + config/views.view.activities_without_case.yml | 2 + config/views.view.all_clients.yml | 950 ++++----- config/views.view.all_trainers.yml | 6 +- config/views.view.all_umbrella_clients.yml | 303 +-- config/views.view.client_report.yml | 4 +- config/views.view.debriefs.yml | 9 +- config/views.view.evaluations.yml | 334 ++-- config/views.view.partner_organisations.yml | 196 +- config/views.view.projects.yml | 312 +-- config/views.view.trainings.yml | 1773 +++++++++-------- 21 files changed, 2090 insertions(+), 2089 deletions(-) diff --git a/composer.lock b/composer.lock index db075d8..35e1a95 100644 --- a/composer.lock +++ b/composer.lock @@ -68,7 +68,7 @@ "source": { "type": "git", "url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/goodnightout_opencase.git", - "reference": "004aa6b9f7998daead20dcee68b15ac2eb6ebfd4" + "reference": "e51d8772ef4edd5c5bb70148d1e929306e25ac0c" }, "require": { "drupal/admin_toolbar": "*", @@ -86,7 +86,7 @@ "email": "helo@autonomic.zone" } ], - "time": "2021-12-30T15:16:02+00:00" + "time": "2022-01-19T10:25:36+00:00" }, { "name": "autonomic/opencase", @@ -94,7 +94,7 @@ "source": { "type": "git", "url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/opencase.git", - "reference": "240a55f54fd1a6a04d1989754ff7e05a9cdf9ec8" + "reference": "40435a16be02628589bf2636b8e2d7d33fbaa020" }, "require": { "composer/installers": "*", @@ -111,7 +111,7 @@ "email": "helo@autonomic.zone" } ], - "time": "2021-12-30T13:43:19+00:00" + "time": "2022-01-20T15:59:39+00:00" }, { "name": "bjeavons/zxcvbn-php", @@ -2169,16 +2169,16 @@ }, { "name": "drupal/core", - "version": "9.3.2", + "version": "9.3.3", "source": { "type": "git", "url": "https://github.com/drupal/core.git", - "reference": "6c9ba6b6314550e7efb8f5f4e2a40f54cfd6aee1" + "reference": "a9bd68be9a4e39724ea555f8040114759a8faf7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core/zipball/6c9ba6b6314550e7efb8f5f4e2a40f54cfd6aee1", - "reference": "6c9ba6b6314550e7efb8f5f4e2a40f54cfd6aee1", + "url": "https://api.github.com/repos/drupal/core/zipball/a9bd68be9a4e39724ea555f8040114759a8faf7f", + "reference": "a9bd68be9a4e39724ea555f8040114759a8faf7f", "shasum": "" }, "require": { @@ -2420,13 +2420,13 @@ ], "description": "Drupal is an open source content management platform powering millions of websites and applications.", "support": { - "source": "https://github.com/drupal/core/tree/9.3.2" + "source": "https://github.com/drupal/core/tree/9.3.3" }, - "time": "2022-01-05T02:55:30+00:00" + "time": "2022-01-19T00:13:54+00:00" }, { "name": "drupal/core-composer-scaffold", - "version": "9.3.2", + "version": "9.3.3", "source": { "type": "git", "url": "https://github.com/drupal/core-composer-scaffold.git", @@ -2470,13 +2470,13 @@ "drupal" ], "support": { - "source": "https://github.com/drupal/core-composer-scaffold/tree/9.3.2" + "source": "https://github.com/drupal/core-composer-scaffold/tree/9.3.3" }, "time": "2021-11-19T09:52:23+00:00" }, { "name": "drupal/core-project-message", - "version": "9.3.2", + "version": "9.3.3", "source": { "type": "git", "url": "https://github.com/drupal/core-project-message.git", @@ -2511,22 +2511,22 @@ "drupal" ], "support": { - "source": "https://github.com/drupal/core-project-message/tree/9.3.2" + "source": "https://github.com/drupal/core-project-message/tree/9.3.3" }, "time": "2020-09-14T13:40:36+00:00" }, { "name": "drupal/core-recommended", - "version": "9.3.2", + "version": "9.3.3", "source": { "type": "git", "url": "https://github.com/drupal/core-recommended.git", - "reference": "9f570d6bf6e568b8c2deab02349a11fad3d1e272" + "reference": "a2fc42cb765874e5393d203ee807ac57abe04b12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core-recommended/zipball/9f570d6bf6e568b8c2deab02349a11fad3d1e272", - "reference": "9f570d6bf6e568b8c2deab02349a11fad3d1e272", + "url": "https://api.github.com/repos/drupal/core-recommended/zipball/a2fc42cb765874e5393d203ee807ac57abe04b12", + "reference": "a2fc42cb765874e5393d203ee807ac57abe04b12", "shasum": "" }, "require": { @@ -2535,7 +2535,7 @@ "doctrine/annotations": "1.13.2", "doctrine/lexer": "1.2.1", "doctrine/reflection": "1.2.2", - "drupal/core": "9.3.2", + "drupal/core": "9.3.3", "egulias/email-validator": "3.1.2", "guzzlehttp/guzzle": "6.5.5", "guzzlehttp/promises": "1.5.1", @@ -2597,9 +2597,9 @@ ], "description": "Locked core dependencies; require this project INSTEAD OF drupal/core.", "support": { - "source": "https://github.com/drupal/core-recommended/tree/9.3.2" + "source": "https://github.com/drupal/core-recommended/tree/9.3.3" }, - "time": "2022-01-05T02:55:30+00:00" + "time": "2022-01-19T00:13:54+00:00" }, { "name": "drupal/ctools", @@ -3346,17 +3346,17 @@ }, { "name": "drupal/jquery_ui_datepicker", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/jquery_ui_datepicker.git", - "reference": "8.x-1.1" + "reference": "8.x-1.2" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/jquery_ui_datepicker-8.x-1.1.zip", - "reference": "8.x-1.1", - "shasum": "69f62467f846bb514a10fa93f4c3b34c6275353f" + "url": "https://ftp.drupal.org/files/projects/jquery_ui_datepicker-8.x-1.2.zip", + "reference": "8.x-1.2", + "shasum": "19ffa245970ee4e9d908fa0c5d0761f567e487bb" }, "require": { "drupal/core": "^8 || ^9", @@ -3365,8 +3365,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.1", - "datestamp": "1615962535", + "version": "8.x-1.2", + "datestamp": "1642614454", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -3379,8 +3379,9 @@ ], "authors": [ { - "name": "bnjmnm", - "homepage": "https://www.drupal.org/user/2369194" + "name": "Andrei Ivnitskii", + "homepage": "https://www.drupal.org/u/ivnish", + "role": "Maintainer" }, { "name": "ivnish", @@ -3402,7 +3403,8 @@ "description": "Provides jQuery UI Datepicker library.", "homepage": "https://www.drupal.org/project/jquery_ui_datepicker", "support": { - "source": "https://git.drupalcode.org/project/jquery_ui_datepicker" + "source": "https://git.drupalcode.org/project/jquery_ui_datepicker", + "issues": "https://www.drupal.org/project/issues/jquery_ui_datepicker" } }, { @@ -4445,40 +4447,39 @@ }, { "name": "drush/drush", - "version": "11.0.1", + "version": "11.0.2", "source": { "type": "git", "url": "https://github.com/drush-ops/drush.git", - "reference": "a14fc9cd073e91f8bbfb44d788119636ed8ca528" + "reference": "3c93b6393d6a463cb1df314dae3db27fbb640cd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drush-ops/drush/zipball/a14fc9cd073e91f8bbfb44d788119636ed8ca528", - "reference": "a14fc9cd073e91f8bbfb44d788119636ed8ca528", + "url": "https://api.github.com/repos/drush-ops/drush/zipball/3c93b6393d6a463cb1df314dae3db27fbb640cd4", + "reference": "3c93b6393d6a463cb1df314dae3db27fbb640cd4", "shasum": "" }, "require": { - "chi-teck/drupal-code-generator": "^2.3", + "chi-teck/drupal-code-generator": "^2.4", "composer/semver": "^1.4 || ^3", - "consolidation/annotated-command": "^4.4", + "consolidation/annotated-command": "^4.5", "consolidation/config": "^1.2", "consolidation/filter-via-dot-access-data": "^1", "consolidation/robo": "^3", "consolidation/site-alias": "^3.1.3", - "consolidation/site-process": "^4", + "consolidation/site-process": "^4.1.3", "enlightn/security-checker": "^1", "ext-dom": "*", - "grasmash/yaml-expander": "^1.1.1", "guzzlehttp/guzzle": "^6.3 || ^7.0", "league/container": "^3.4", "php": ">=7.4", "psr/log": "~1.0", "psy/psysh": "~0.11", - "symfony/event-dispatcher": "^4.0", - "symfony/finder": "^4.0 || ^5", + "symfony/event-dispatcher": "^4.0 || ^5.0 || ^6.0", + "symfony/finder": "^4.0 || ^5 || ^6", "symfony/polyfill-php80": "^1.23", - "symfony/var-dumper": "^4.0 || ^5.0", - "symfony/yaml": "^4.0", + "symfony/var-dumper": "^4.0 || ^5.0 || ^6.0", + "symfony/yaml": "^4.0 || ^5.0 || ^6.0", "webflo/drupal-finder": "^1.2", "webmozart/path-util": "^2.1.0" }, @@ -4491,11 +4492,11 @@ "composer/installers": "^1.7", "cweagans/composer-patches": "~1.0", "david-garcia/phpwhois": "4.3.0", - "drupal/core-recommended": "^9", + "drupal/core-recommended": "^9 || ^10", "drupal/semver_example": "2.2.0", "phpunit/phpunit": ">=7.5.20", "rector/rector": "^0.12", - "squizlabs/php_codesniffer": "^2.7 || ^3", + "squizlabs/php_codesniffer": "^3.6", "vlucas/phpdotenv": "^2.4", "yoast/phpunit-polyfills": "^0.2.0" }, @@ -4581,7 +4582,7 @@ "irc": "irc://irc.freenode.org/drush", "issues": "https://github.com/drush-ops/drush/issues", "slack": "https://drupal.slack.com/messages/C62H9CWQM", - "source": "https://github.com/drush-ops/drush/tree/11.0.1" + "source": "https://github.com/drush-ops/drush/tree/11.0.2" }, "funding": [ { @@ -4589,7 +4590,7 @@ "type": "github" } ], - "time": "2022-01-17T16:17:28+00:00" + "time": "2022-01-19T13:42:06+00:00" }, { "name": "egulias/email-validator", @@ -4776,58 +4777,6 @@ }, "time": "2017-12-21T22:14:55+00:00" }, - { - "name": "grasmash/yaml-expander", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/grasmash/yaml-expander.git", - "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/3f0f6001ae707a24f4d9733958d77d92bf9693b1", - "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1", - "shasum": "" - }, - "require": { - "dflydev/dot-access-data": "^1.1.0", - "php": ">=5.4", - "symfony/yaml": "^2.8.11|^3|^4" - }, - "require-dev": { - "greg-1-anderson/composer-test-scenarios": "^1", - "phpunit/phpunit": "^4.8|^5.5.4", - "satooshi/php-coveralls": "^1.0.2|dev-master", - "squizlabs/php_codesniffer": "^2.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Grasmash\\YamlExpander\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Matthew Grasmick" - } - ], - "description": "Expands internal property references in a yaml file.", - "support": { - "issues": "https://github.com/grasmash/yaml-expander/issues", - "source": "https://github.com/grasmash/yaml-expander/tree/master" - }, - "time": "2017-12-16T16:06:03+00:00" - }, { "name": "guzzlehttp/guzzle", "version": "6.5.5", diff --git a/config/bartik.settings.yml b/config/bartik.settings.yml index bb01ce2..450ebdc 100644 --- a/config/bartik.settings.yml +++ b/config/bartik.settings.yml @@ -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 diff --git a/config/core.entity_form_display.user.user.default.yml b/config/core.entity_form_display.user.user.default.yml index 3b231f5..c06a073 100644 --- a/config/core.entity_form_display.user.user.default.yml +++ b/config/core.entity_form_display.user.user.default.yml @@ -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: { } diff --git a/config/core.entity_view_display.oc_case.training.default.yml b/config/core.entity_view_display.oc_case.training.default.yml index b42ae47..38ec83e 100644 --- a/config/core.entity_view_display.oc_case.training.default.yml +++ b/config/core.entity_view_display.oc_case.training.default.yml @@ -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 diff --git a/config/core.entity_view_display.user.user.default.yml b/config/core.entity_view_display.user.user.default.yml index f5a96ca..b21eb2b 100644 --- a/config/core.entity_view_display.user.user.default.yml +++ b/config/core.entity_view_display.user.user.default.yml @@ -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 diff --git a/config/entity_extra_field.extra_field.oc_case.training.debriefs.yml b/config/entity_extra_field.extra_field.oc_case.training.debriefs.yml index eea2ca3..1c38d63 100644 --- a/config/entity_extra_field.extra_field.oc_case.training.debriefs.yml +++ b/config/entity_extra_field.extra_field.oc_case.training.debriefs.yml @@ -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: '' diff --git a/config/entity_extra_field.extra_field.oc_case.training.evaluations.yml b/config/entity_extra_field.extra_field.oc_case.training.evaluations.yml index 2ae3002..59cdb34 100644 --- a/config/entity_extra_field.extra_field.oc_case.training.evaluations.yml +++ b/config/entity_extra_field.extra_field.oc_case.training.evaluations.yml @@ -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 diff --git a/config/system.site.yml b/config/system.site.yml index 34f8bd0..e634bb9 100644 --- a/config/system.site.yml +++ b/config/system.site.yml @@ -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: '' diff --git a/config/user.role.authenticated.yml b/config/user.role.authenticated.yml index 31e0efd..9d510f9 100644 --- a/config/user.role.authenticated.yml +++ b/config/user.role.authenticated.yml @@ -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' diff --git a/config/user.role.follow_up_alerts.yml b/config/user.role.follow_up_alerts.yml index 7f1e38a..9ad56a7 100644 --- a/config/user.role.follow_up_alerts.yml +++ b/config/user.role.follow_up_alerts.yml @@ -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' diff --git a/config/user.role.gno_admin_user.yml b/config/user.role.gno_admin_user.yml index 5b84130..c797031 100644 --- a/config/user.role.gno_admin_user.yml +++ b/config/user.role.gno_admin_user.yml @@ -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' diff --git a/config/views.view.activities_without_case.yml b/config/views.view.activities_without_case.yml index 60a0b71..62c2cda 100644 --- a/config/views.view.activities_without_case.yml +++ b/config/views.view.activities_without_case.yml @@ -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 diff --git a/config/views.view.all_clients.yml b/config/views.view.all_clients.yml index aa848a9..c672874 100644 --- a/config/views.view.all_clients.yml +++ b/config/views.view.all_clients.yml @@ -14,11 +14,13 @@ dependencies: - system.menu.opencase - taxonomy.vocabulary.clie - taxonomy.vocabulary.client_status - - user.role.authenticated + - user.role.administrator + - user.role.gno_admin_user 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: - datetime - opencase_entities @@ -35,126 +37,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_client_type: field_client_type - field_client_subtype: field_client_subtype - field_client_status: field_client_status - field_client_substatus: field_client_substatus - field_tags: field_tags - status: status - info: - name: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - field_client_type: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - field_client_subtype: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - field_client_status: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - field_client_substatus: - 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 + title: 'All clients' fields: name: id: name @@ -163,6 +51,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: null + entity_field: name + plugin_id: field label: Name exclude: false alter: @@ -218,9 +109,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: null - entity_field: name - plugin_id: field field_client_type: id: field_client_type table: oc_organisation__field_client_type @@ -228,6 +116,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Client type' exclude: false alter: @@ -283,7 +172,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_client_subtype: id: field_client_subtype table: oc_organisation__field_client_subtype @@ -291,6 +179,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Client subtype' exclude: false alter: @@ -346,7 +235,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_client_status: id: field_client_status table: oc_organisation__field_client_status @@ -354,6 +242,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Client Status' exclude: false alter: @@ -409,7 +298,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_client_substatus: id: field_client_substatus table: oc_organisation__field_client_substatus @@ -417,6 +305,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Client substatus' exclude: false alter: @@ -472,7 +361,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_tags: id: field_tags table: oc_organisation__field_tags @@ -480,6 +368,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: Tags exclude: false alter: @@ -535,7 +424,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field status: id: status table: oc_organisation_field_data @@ -543,6 +431,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_organisation + entity_field: status + plugin_id: field label: 'Publishing status' exclude: true alter: @@ -588,8 +479,8 @@ display: type: boolean settings: format: default - format_custom_true: '' format_custom_false: '' + format_custom_true: '' group_column: value group_columns: { } group_rows: true @@ -600,9 +491,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_organisation - entity_field: status - plugin_id: field field_accreditation_date: id: field_accreditation_date table: oc_organisation__field_accreditation_date @@ -610,6 +498,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Accreditation date' exclude: false alter: @@ -666,20 +555,55 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field - filters: - type: - id: type - table: oc_organisation_field_data - field: type - value: - client: 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: + 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: 'Add client

' + tokenize: false sorts: name: id: name @@ -688,14 +612,108 @@ display: relationship: none group_type: group admin_label: '' - order: ASC - exposed: false - expose: - label: '' entity_type: oc_organisation entity_field: name plugin_id: standard - title: 'All clients' + 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: + client: client + expose: + operator_limit_selection: false + operator_list: { } + style: + type: table + options: + grouping: { } + row_class: '{{ status }}' + default_row_class: true + columns: + name: name + field_client_type: field_client_type + field_client_subtype: field_client_subtype + field_client_status: field_client_status + field_client_substatus: field_client_substatus + field_tags: field_tags + status: status + default: '-1' + info: + name: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + field_client_type: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + field_client_subtype: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + field_client_status: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + field_client_substatus: + 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 + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } header: { } footer: area_text_custom: @@ -705,24 +723,10 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: text_custom empty: false - tokenize: false content: 'Add client

' - plugin_id: text_custom - 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: 'Add client

' - plugin_id: text_custom - relationships: { } - arguments: { } display_extenders: { } cache_metadata: max-age: -1 @@ -739,35 +743,12 @@ display: - '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: 'Follow-ups due' + display_plugin: attachment position: 1 display_options: - display_extenders: { } - display_description: '' - footer: - area: - id: area - table: views - field: area - relationship: none - group_type: group - admin_label: '' - empty: true - tokenize: false - content: - value: '

Other clients

' - format: full_html - plugin_id: text - defaults: - footer: false - empty: false - filters: false - filter_groups: false - title: false - header: false - css_class: false + title: 'Follow-ups due' empty: area_text_custom: id: area_text_custom @@ -776,20 +757,20 @@ display: relationship: none group_type: group admin_label: '' - empty: true - tokenize: false - content: 'No clients have follow-ups due' plugin_id: text_custom + empty: true + content: 'No clients have follow-ups due' + tokenize: false filters: type: id: type table: oc_organisation_field_data field: type - value: - client: client entity_type: oc_organisation entity_field: type plugin_id: bundle + value: + client: client expose: operator_limit_selection: false operator_list: { } @@ -800,6 +781,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: taxonomy_index_tid operator: or value: 74: 74 @@ -834,17 +816,25 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - type: select - limit: true vid: clie + type: select hierarchy: false + limit: true error_message: true - plugin_id: taxonomy_index_tid filter_groups: operator: AND groups: 1: AND - title: 'Follow-ups due' + defaults: + empty: false + title: false + css_class: false + filters: false + filter_groups: false + header: false + footer: false + css_class: follow-ups-due + display_description: '' header: area_text_custom: id: area_text_custom @@ -853,13 +843,27 @@ display: relationship: none group_type: group admin_label: '' - empty: true - tokenize: false - content: '

Clients with follow-ups due

' plugin_id: text_custom + empty: true + content: '

Clients with follow-ups due

' + tokenize: false + footer: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: true + content: + value: '

Other clients

' + format: full_html + tokenize: false + display_extenders: { } displays: page_1: page_1 - css_class: follow-ups-due cache_metadata: max-age: -1 contexts: @@ -875,13 +879,23 @@ display: - 'config:field.storage.oc_organisation.field_client_type' - 'config:field.storage.oc_organisation.field_tags' block_1: - display_plugin: block id: block_1 display_title: 'By Umbrella Client' + display_plugin: block position: 2 display_options: - display_extenders: { } - display_description: '' + empty: + 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: 'None yet. ' + tokenize: false arguments: field_umbrella_client_target_id: id: field_umbrella_client_target_id @@ -890,6 +904,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric default_action: default exception: value: all @@ -905,8 +920,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 @@ -918,11 +933,11 @@ display: validate_options: { } break_phrase: false not: false - plugin_id: numeric defaults: + empty: false arguments: false footer: false - empty: false + display_description: '' footer: area_text_custom: id: area_text_custom @@ -931,22 +946,11 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: text_custom empty: true - tokenize: true content: 'Add client

' - plugin_id: text_custom - 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: 'None yet. ' - plugin_id: text_custom + tokenize: true + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -963,92 +967,11 @@ display: - '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' + display_plugin: 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 @@ -1057,6 +980,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: null + entity_field: name + plugin_id: field label: '' exclude: false alter: @@ -1112,9 +1038,87 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: null - entity_field: name - plugin_id: field + filters: + type: + id: type + table: oc_organisation_field_data + field: type + entity_type: oc_organisation + entity_field: type + plugin_id: bundle + value: + client: client + expose: + operator_limit_selection: false + operator_list: { } + status: + id: status + table: oc_organisation_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: oc_organisation + entity_field: status + plugin_id: boolean + 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: { } + filter_groups: + operator: AND + groups: + 1: AND + 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' + row: + type: entity_reference + options: + default_field_elements: true + inline: + name: name + separator: '-' + hide_empty: false + defaults: + fields: false + filters: false + filter_groups: false + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -1123,12 +1127,77 @@ display: - user.roles tags: { } entity_reference_2: - display_plugin: entity_reference id: entity_reference_2 display_title: 'Entity Reference' + display_plugin: entity_reference position: 6 display_options: - display_extenders: { } + fields: + name: + id: name + table: oc_organisation_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: null + entity_field: name + plugin_id: field + 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 filters: type: id: type @@ -1137,6 +1206,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_organisation + entity_field: type + plugin_id: bundle operator: in value: client: client @@ -1170,9 +1242,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: oc_organisation - entity_field: type - plugin_id: bundle status: id: status table: oc_organisation_field_data @@ -1180,6 +1249,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_organisation + entity_field: status + plugin_id: boolean operator: '=' value: '1' group: 1 @@ -1210,25 +1282,10 @@ display: 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: @@ -1240,72 +1297,19 @@ display: 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: '' + row: + type: entity_reference + options: + default_field_elements: true + inline: + name: name + separator: '-' 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 + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -1314,55 +1318,23 @@ display: - user.roles tags: { } page_1: - display_plugin: page id: page_1 display_title: All + display_plugin: page position: 1 display_options: - display_extenders: { } - path: opencase/all-clients - menu: - type: normal - title: Clients - description: '' - expanded: false - parent: opencase.see_all - weight: -50 - context: '0' - menu_name: opencase - display_description: '' - footer: { } - defaults: - footer: false - empty: false - filters: false - filter_groups: false - title: false - header: false - empty: { } title: 'All clients' - header: - display_link: - id: display_link - table: views - field: display_link - relationship: none - group_type: group - admin_label: '' - empty: true - display_id: page_3 - label: 'This display does not include closed clients. Click here to see them' - plugin_id: display_link + empty: { } filters: type: id: type table: oc_organisation_field_data field: type - value: - client: client entity_type: oc_organisation entity_field: type plugin_id: bundle + value: + client: client expose: operator_limit_selection: false operator_list: { } @@ -1373,6 +1345,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: taxonomy_index_tid operator: not value: 74: 74 @@ -1408,16 +1381,47 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - type: select - limit: true vid: clie + type: select hierarchy: false + limit: true error_message: true - plugin_id: taxonomy_index_tid filter_groups: operator: AND groups: 1: AND + defaults: + empty: false + title: false + filters: false + filter_groups: false + header: false + footer: false + display_description: '' + header: + display_link: + id: display_link + table: views + field: display_link + relationship: none + group_type: group + admin_label: '' + plugin_id: display_link + label: 'This display does not include closed clients. Click here to see them' + empty: true + display_id: page_3 + footer: { } + display_extenders: { } + path: opencase/all-clients + menu: + type: normal + title: Clients + description: '' + weight: -50 + expanded: false + menu_name: opencase + parent: opencase.see_all + context: '0' cache_metadata: max-age: -1 contexts: @@ -1434,21 +1438,13 @@ display: - 'config:field.storage.oc_organisation.field_client_type' - 'config:field.storage.oc_organisation.field_tags' page_2: - display_plugin: page id: page_2 display_title: 'By substatus' + display_plugin: page position: 3 display_options: - display_extenders: { } - display_description: '' title: 'Clients by substatus' - defaults: - title: false - arguments: false - fields: true - footer: false - empty: false - path: opencase/clients_by_substatus/% + empty: { } arguments: field_client_substatus_target_id: id: field_client_substatus_target_id @@ -1457,6 +1453,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric default_action: default exception: value: all @@ -1472,8 +1469,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 @@ -1485,9 +1482,16 @@ display: validate_options: { } break_phrase: false not: false - plugin_id: numeric + defaults: + empty: false + title: false + fields: true + arguments: false + footer: false + display_description: '' footer: { } - empty: { } + display_extenders: { } + path: opencase/clients_by_substatus/% cache_metadata: max-age: -1 contexts: @@ -1504,43 +1508,23 @@ display: - 'config:field.storage.oc_organisation.field_client_type' - 'config:field.storage.oc_organisation.field_tags' page_3: - display_plugin: page id: page_3 display_title: 'Closed clients' + display_plugin: page position: 4 display_options: - display_extenders: { } - display_description: '' - path: opencase/closed-clients - header: - display_link: - id: display_link - table: views - field: display_link - relationship: none - group_type: group - admin_label: '' - empty: true - display_id: page_1 - label: 'Back to non-closed client list' - plugin_id: display_link - defaults: - header: false - filters: false - filter_groups: false - title: false - empty: false - footer: false + title: 'Closed clients' + empty: { } filters: type: id: type table: oc_organisation_field_data field: type - value: - client: client entity_type: oc_organisation entity_field: type plugin_id: bundle + value: + client: client expose: operator_limit_selection: false operator_list: { } @@ -1551,9 +1535,10 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: taxonomy_index_tid operator: or value: - 41: 41 + 89: 89 group: 1 exposed: false expose: @@ -1584,19 +1569,38 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - type: select - limit: true vid: client_status + type: select hierarchy: false + limit: true error_message: true - plugin_id: taxonomy_index_tid filter_groups: operator: AND groups: 1: AND - title: 'Closed clients' - empty: { } + defaults: + empty: false + title: false + filters: false + filter_groups: false + header: false + footer: false + display_description: '' + header: + display_link: + id: display_link + table: views + field: display_link + relationship: none + group_type: group + admin_label: '' + plugin_id: display_link + label: 'Back to non-closed client list' + empty: true + display_id: page_1 footer: { } + display_extenders: { } + path: opencase/closed-clients cache_metadata: max-age: -1 contexts: diff --git a/config/views.view.all_trainers.yml b/config/views.view.all_trainers.yml index c4179bf..53aea6a 100644 --- a/config/views.view.all_trainers.yml +++ b/config/views.view.all_trainers.yml @@ -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: { } diff --git a/config/views.view.all_umbrella_clients.yml b/config/views.view.all_umbrella_clients.yml index 7c9350e..44d61bf 100644 --- a/config/views.view.all_umbrella_clients.yml +++ b/config/views.view.all_umbrella_clients.yml @@ -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: diff --git a/config/views.view.client_report.yml b/config/views.view.client_report.yml index 1a15854..b5fe9eb 100644 --- a/config/views.view.client_report.yml +++ b/config/views.view.client_report.yml @@ -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 diff --git a/config/views.view.debriefs.yml b/config/views.view.debriefs.yml index 6d8fe45..5045171 100644 --- a/config/views.view.debriefs.yml +++ b/config/views.view.debriefs.yml @@ -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: '' diff --git a/config/views.view.evaluations.yml b/config/views.view.evaluations.yml index a3d65eb..d645d9e 100644 --- a/config/views.view.evaluations.yml +++ b/config/views.view.evaluations.yml @@ -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: "Add evaluation\r\n
" - 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: "Add evaluation\r\n
" + 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: diff --git a/config/views.view.partner_organisations.yml b/config/views.view.partner_organisations.yml index e63d585..b0bfdca 100644 --- a/config/views.view.partner_organisations.yml +++ b/config/views.view.partner_organisations.yml @@ -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: diff --git a/config/views.view.projects.yml b/config/views.view.projects.yml index 169aedc..3824a0c 100644 --- a/config/views.view.projects.yml +++ b/config/views.view.projects.yml @@ -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: 'Add project

' - 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: 'Add project

' + 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: diff --git a/config/views.view.trainings.yml b/config/views.view.trainings.yml index b166672..a2f3da3 100644 --- a/config/views.view.trainings.yml +++ b/config/views.view.trainings.yml @@ -28,27 +28,478 @@ 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 + title: Trainings + fields: + id: + id: id + table: oc_case_field_data + field: id + relationship: none + group_type: group + admin_label: '' + entity_type: oc_case + entity_field: id + plugin_id: field + label: ID + 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: number_integer + settings: + thousand_separator: '' + prefix_suffix: 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 + name: + id: name + table: oc_case_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: oc_case + entity_field: name + plugin_id: field + label: Title + 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: 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: 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 + 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: field + label: Client + 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: 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: target_id + type: entity_reference_label + settings: + link: true + group_column: target_id + 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 + field_training_type: + id: field_training_type + table: oc_case__field_training_type + field: field_training_type + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: 'Training type' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '/opencase/oc_case/{{ id }}' + 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: list_default + settings: { } + 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 + field_date_of_training: + id: field_date_of_training + table: oc_case__field_date_of_training + field: field_date_of_training + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: 'Date of training' + 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: 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: datetime_default + settings: + timezone_override: '' + format_type: short + 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 + field_training_status: + id: field_training_status + table: oc_case__field_training_status + field: field_training_status + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: 'Training Status' + 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: 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: list_default + settings: { } + 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 + field_project: + id: field_project + table: oc_case__field_project + field: field_project + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: Project + 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: 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: target_id + type: entity_reference_label + settings: + link: true + group_column: target_id + 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 + pager: + type: mini 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: { } + 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: @@ -59,41 +510,54 @@ display: expose_sort_order: true sort_asc_label: Asc sort_desc_label: Desc - pager: - type: mini + access: + type: role options: - items_per_page: 50 - offset: 0 - id: 0 - total_pages: null - tags: - previous: ‹‹ - next: ›› + role: + authenticated: authenticated + cache: + type: tag + options: { } + empty: + 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: 'None yet.' + tokenize: false + sorts: { } + arguments: { } + filters: + type: + id: type + table: oc_case_field_data + field: type + entity_type: oc_case + entity_field: type + plugin_id: bundle + value: + training: training 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 + operator_limit_selection: false + operator_list: { } style: type: table options: grouping: { } row_class: '' default_row_class: true - override: true - sticky: false - caption: '' - summary: '' - description: '' columns: id: id client: client field_training_type: field_training_type field_date_of_training: field_date_of_training field_trainer: field_trainer + default: '-1' info: id: sortable: false @@ -128,10 +592,71 @@ display: separator: ',' empty_column: false responsive: '' - default: '-1' + 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: + field_trainer: + id: field_trainer + table: oc_case__field_trainer + field: field_trainer + relationship: none + group_type: group + admin_label: 'field_trainer: Paragraph' + plugin_id: standard + required: false + group_by: false + header: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + plugin_id: text_custom + 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: 'Add training

' + tokenize: true + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - user.roles + tags: + - 'config:field.storage.oc_case.field_date_of_training' + - 'config:field.storage.oc_case.field_project' + - 'config:field.storage.oc_case.field_training_status' + - 'config:field.storage.oc_case.field_training_type' + attachment_1: + id: attachment_1 + display_title: 'Attachment - trainings without date' + display_plugin: attachment + position: 2 + display_options: + title: 'Without date' fields: id: id: id @@ -140,6 +665,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: id + plugin_id: field label: ID exclude: true alter: @@ -196,9 +724,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: id - plugin_id: field name: id: name table: oc_case_field_data @@ -206,6 +731,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: name + plugin_id: field label: Title exclude: false alter: @@ -261,9 +789,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: name - plugin_id: field client: id: client table: oc_case_field_data @@ -271,6 +796,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: client + plugin_id: field label: Client exclude: false alter: @@ -326,9 +854,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: client - plugin_id: field field_training_type: id: field_training_type table: oc_case__field_training_type @@ -336,6 +861,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Training type' exclude: false alter: @@ -390,7 +916,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_date_of_training: id: field_date_of_training table: oc_case__field_date_of_training @@ -398,8 +923,9 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Date of training' - exclude: false + exclude: true alter: alter_text: false text: '' @@ -454,7 +980,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_training_status: id: field_training_status table: oc_case__field_training_status @@ -462,6 +987,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Training Status' exclude: false alter: @@ -516,7 +1042,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_project: id: field_project table: oc_case__field_project @@ -524,6 +1049,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: Project exclude: false alter: @@ -579,116 +1105,37 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field + pager: + type: none + options: + offset: 0 + sorts: + 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: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false filters: type: id: type table: oc_case_field_data field: type - value: - training: training + relationship: none + group_type: group + admin_label: '' entity_type: oc_case entity_field: type plugin_id: bundle - expose: - operator_limit_selection: false - operator_list: { } - sorts: { } - title: Trainings - header: - area_text_custom: - id: area_text_custom - table: views - field: area_text_custom - plugin_id: text_custom - 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: 'Add training

' - plugin_id: text_custom - 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: 'None yet.' - plugin_id: text_custom - relationships: - field_trainer: - id: field_trainer - table: oc_case__field_trainer - field: field_trainer - relationship: none - group_type: group - admin_label: 'field_trainer: Paragraph' - required: false - plugin_id: standard - arguments: { } - display_extenders: { } - group_by: false - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url.query_args - - user.roles - tags: - - 'config:field.storage.oc_case.field_date_of_training' - - 'config:field.storage.oc_case.field_project' - - 'config:field.storage.oc_case.field_training_status' - - 'config:field.storage.oc_case.field_training_type' - attachment_1: - display_plugin: attachment - id: attachment_1 - display_title: 'Attachment - trainings without date' - position: 2 - display_options: - display_extenders: { } - display_description: '' - defaults: - arguments: true - relationships: false - fields: false - footer: false - filters: false - filter_groups: false - sorts: false - title: false - header: false - footer: - area_text_custom: - id: area_text_custom - table: views - field: area_text_custom - relationship: none - group_type: group - admin_label: '' - empty: false - tokenize: false - content: '

With date

' - plugin_id: text_custom - relationships: { } - filters: - type: - id: type - table: oc_case_field_data - field: type - relationship: none - group_type: group - admin_label: '' operator: in value: training: training @@ -721,9 +1168,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: oc_case - entity_field: type - plugin_id: bundle field_date_of_training_value: id: field_date_of_training_value table: oc_case__field_date_of_training @@ -731,6 +1175,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime operator: empty value: min: '' @@ -753,9 +1198,9 @@ display: multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -768,476 +1213,22 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: datetime filter_groups: operator: AND groups: 1: AND - sorts: - field_date_of_training_value: - id: field_date_of_training_value - table: oc_case__field_date_of_training - field: field_date_of_training_value - relationship: none - group_type: group - admin_label: '' - order: DESC - exposed: false - expose: - label: '' - granularity: second - plugin_id: datetime - title: 'Without date' - displays: - page_2: page_2 - fields: - id: - id: id - table: oc_case_field_data - field: id - relationship: none - group_type: group - admin_label: '' - label: ID - 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: number_integer - settings: - thousand_separator: '' - prefix_suffix: 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: oc_case - entity_field: id - plugin_id: field - name: - id: name - table: oc_case_field_data - field: name - relationship: none - group_type: group - admin_label: '' - label: Title - 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: 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: 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: oc_case - entity_field: name - plugin_id: field - client: - id: client - table: oc_case_field_data - field: client - relationship: none - group_type: group - admin_label: '' - label: Client - 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: 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: target_id - type: entity_reference_label - settings: - link: true - group_column: target_id - 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_case - entity_field: client - plugin_id: field - field_training_type: - id: field_training_type - table: oc_case__field_training_type - field: field_training_type - relationship: none - group_type: group - admin_label: '' - label: 'Training type' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '/opencase/oc_case/{{ id }}' - 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: list_default - settings: { } - 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 - plugin_id: field - field_date_of_training: - id: field_date_of_training - table: oc_case__field_date_of_training - field: field_date_of_training - relationship: none - group_type: group - admin_label: '' - label: 'Date of training' - 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: datetime_default - settings: - timezone_override: '' - format_type: short - 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 - plugin_id: field - field_training_status: - id: field_training_status - table: oc_case__field_training_status - field: field_training_status - relationship: none - group_type: group - admin_label: '' - label: 'Training Status' - 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: 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: list_default - settings: { } - 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 - plugin_id: field - field_project: - id: field_project - table: oc_case__field_project - field: field_project - relationship: none - group_type: group - admin_label: '' - label: Project - 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: 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: target_id - type: entity_reference_label - settings: - link: true - group_column: target_id - 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 - plugin_id: field + defaults: + title: false + relationships: false + fields: false + sorts: false + arguments: true + filters: false + filter_groups: false + header: false + footer: false + relationships: { } + display_description: '' header: area_text_custom: id: area_text_custom @@ -1246,10 +1237,25 @@ display: relationship: none group_type: group admin_label: '' - empty: false - tokenize: false - content: '

Without date

' plugin_id: text_custom + empty: false + content: '

Without date

' + tokenize: 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: false + content: '

With date

' + tokenize: false + display_extenders: { } + displays: + page_2: page_2 cache_metadata: max-age: -1 contexts: @@ -1262,21 +1268,12 @@ display: - 'config:field.storage.oc_case.field_training_status' - 'config:field.storage.oc_case.field_training_type' block_1: - display_plugin: block id: block_1 display_title: 'By trainer' + display_plugin: block position: 1 display_options: - display_extenders: { } - defaults: - arguments: false - relationships: true - fields: true - footer: false - filters: false - filter_groups: false - sorts: false - display_description: '' + sorts: { } arguments: field_trainer_target_id: id: field_trainer_target_id @@ -1285,6 +1282,7 @@ display: relationship: field_trainer group_type: group admin_label: '' + plugin_id: numeric default_action: default exception: value: all @@ -1300,8 +1298,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 @@ -1313,14 +1311,22 @@ display: validate_options: { } break_phrase: false not: false - plugin_id: numeric - footer: { } filters: { } filter_groups: operator: AND groups: 1: AND - sorts: { } + defaults: + relationships: true + fields: true + sorts: false + arguments: false + filters: false + filter_groups: false + footer: false + display_description: '' + footer: { } + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -1335,58 +1341,11 @@ display: - 'config:field.storage.oc_case.field_training_status' - 'config:field.storage.oc_case.field_training_type' block_2: - display_plugin: block id: block_2 display_title: 'By client' + display_plugin: block position: 2 display_options: - display_extenders: { } - defaults: - title: true - fields: false - relationships: false - arguments: false - display_description: '' - 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 - relationships: { } fields: id: id: id @@ -1395,6 +1354,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: id + plugin_id: field label: ID exclude: true alter: @@ -1451,9 +1413,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: id - plugin_id: field name: id: name table: oc_case_field_data @@ -1461,6 +1420,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: name + plugin_id: field label: Title exclude: false alter: @@ -1516,9 +1478,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: name - plugin_id: field client: id: client table: oc_case_field_data @@ -1526,6 +1485,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: client + plugin_id: field label: Client exclude: true alter: @@ -1581,9 +1543,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: client - plugin_id: field field_training_type: id: field_training_type table: oc_case__field_training_type @@ -1591,6 +1550,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Training type' exclude: false alter: @@ -1645,7 +1605,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_date_of_training: id: field_date_of_training table: oc_case__field_date_of_training @@ -1653,6 +1612,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Date of training' exclude: false alter: @@ -1709,7 +1669,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_training_status: id: field_training_status table: oc_case__field_training_status @@ -1717,6 +1676,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Training Status' exclude: false alter: @@ -1771,7 +1731,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_project: id: field_project table: oc_case__field_project @@ -1779,6 +1738,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: Project exclude: false alter: @@ -1834,7 +1794,53 @@ 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: + title: true + relationships: false + fields: false + arguments: false + relationships: { } + display_description: '' + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -1849,39 +1855,11 @@ display: - 'config:field.storage.oc_case.field_training_status' - 'config:field.storage.oc_case.field_training_type' block_3: - display_plugin: block id: block_3 display_title: 'By client by umbrella' + display_plugin: block position: 4 display_options: - display_extenders: { } - display_description: '' - block_description: 'Trainings by Umbrella Client' - relationships: - field_trainer: - id: field_trainer - table: oc_case__field_trainer - field: field_trainer - relationship: none - group_type: group - admin_label: 'field_trainer: Paragraph' - required: false - plugin_id: standard - client: - id: client - table: oc_case_field_data - field: client - relationship: none - group_type: group - admin_label: Organisation - required: true - entity_type: oc_case - entity_field: client - plugin_id: standard - defaults: - relationships: false - arguments: false - footer: false arguments: field_umbrella_client_target_id: id: field_umbrella_client_target_id @@ -1890,6 +1868,7 @@ display: relationship: client group_type: group admin_label: '' + plugin_id: numeric default_action: default exception: value: all @@ -1905,8 +1884,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 @@ -1918,8 +1897,35 @@ display: validate_options: { } break_phrase: false not: false - plugin_id: numeric + defaults: + relationships: false + arguments: false + footer: false + relationships: + field_trainer: + id: field_trainer + table: oc_case__field_trainer + field: field_trainer + relationship: none + group_type: group + admin_label: 'field_trainer: Paragraph' + plugin_id: standard + required: false + client: + id: client + table: oc_case_field_data + field: client + relationship: none + group_type: group + admin_label: Organisation + entity_type: oc_case + entity_field: client + plugin_id: standard + required: true + display_description: '' footer: { } + display_extenders: { } + block_description: 'Trainings by Umbrella Client' cache_metadata: max-age: -1 contexts: @@ -1934,66 +1940,11 @@ display: - 'config:field.storage.oc_case.field_training_status' - 'config:field.storage.oc_case.field_training_type' block_4: - display_plugin: block id: block_4 display_title: 'Umbrella trainings by umbrella' + display_plugin: block position: 5 display_options: - display_extenders: { } - display_description: '' - filters: - type: - id: type - table: oc_case_field_data - field: type - relationship: none - group_type: group - admin_label: '' - operator: in - value: - training: training - 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: { } - entity_type: oc_case - entity_field: type - plugin_id: bundle - defaults: - filters: false - filter_groups: false - fields: false - footer: false - arguments: false - filter_groups: - operator: AND - groups: - 1: AND fields: id: id: id @@ -2002,6 +1953,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: id + plugin_id: field label: ID exclude: true alter: @@ -2058,9 +2012,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: id - plugin_id: field name: id: name table: oc_case_field_data @@ -2068,6 +2019,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: name + plugin_id: field label: Title exclude: false alter: @@ -2123,9 +2077,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: name - plugin_id: field client: id: client table: oc_case_field_data @@ -2133,6 +2084,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: client + plugin_id: field label: Client exclude: true alter: @@ -2188,9 +2142,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: client - plugin_id: field field_date_of_training: id: field_date_of_training table: oc_case__field_date_of_training @@ -2198,6 +2149,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Date of training' exclude: false alter: @@ -2254,7 +2206,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_training_type: id: field_training_type table: oc_case__field_training_type @@ -2262,6 +2213,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Training type' exclude: false alter: @@ -2316,7 +2268,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_project: id: field_project table: oc_case__field_project @@ -2324,6 +2275,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: Project exclude: false alter: @@ -2379,19 +2331,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field - 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: 'Add training

' - plugin_id: text_custom arguments: client: id: client @@ -2400,6 +2339,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: client + plugin_id: numeric default_action: default exception: value: all @@ -2415,8 +2357,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 @@ -2428,9 +2370,73 @@ display: validate_options: { } break_phrase: false not: false + filters: + type: + id: type + table: oc_case_field_data + field: type + relationship: none + group_type: group + admin_label: '' entity_type: oc_case - entity_field: client - plugin_id: numeric + entity_field: type + plugin_id: bundle + operator: in + value: + training: training + 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: { } + filter_groups: + operator: AND + groups: + 1: AND + defaults: + fields: false + arguments: false + filters: false + filter_groups: false + footer: false + display_description: '' + 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: 'Add training

' + tokenize: true + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -2444,13 +2450,11 @@ display: - 'config:field.storage.oc_case.field_project' - 'config:field.storage.oc_case.field_training_type' block_5: - display_plugin: block id: block_5 display_title: 'By project' + display_plugin: block position: 6 display_options: - display_extenders: { } - display_description: '' fields: id: id: id @@ -2459,6 +2463,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: id + plugin_id: field label: ID exclude: true alter: @@ -2515,9 +2522,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: id - plugin_id: field name: id: name table: oc_case_field_data @@ -2525,6 +2529,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: name + plugin_id: field label: Title exclude: false alter: @@ -2580,9 +2587,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: name - plugin_id: field client: id: client table: oc_case_field_data @@ -2590,6 +2594,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: client + plugin_id: field label: Client exclude: false alter: @@ -2645,9 +2652,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_case - entity_field: client - plugin_id: field field_training_type: id: field_training_type table: oc_case__field_training_type @@ -2655,6 +2659,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Training type' exclude: false alter: @@ -2709,7 +2714,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_date_of_training: id: field_date_of_training table: oc_case__field_date_of_training @@ -2717,6 +2721,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Date of training' exclude: false alter: @@ -2773,7 +2778,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_training_status: id: field_training_status table: oc_case__field_training_status @@ -2781,6 +2785,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: 'Training Status' exclude: false alter: @@ -2835,7 +2840,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_project: id: field_project table: oc_case__field_project @@ -2843,6 +2847,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: Project exclude: true alter: @@ -2898,11 +2903,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field - defaults: - fields: false - arguments: false - footer: false arguments: field_project_target_id: id: field_project_target_id @@ -2911,6 +2911,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric default_action: default exception: value: all @@ -2926,8 +2927,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 @@ -2939,7 +2940,11 @@ display: validate_options: { } break_phrase: false not: false - plugin_id: numeric + defaults: + fields: false + arguments: false + footer: false + display_description: '' footer: area_text_custom: id: area_text_custom @@ -2948,10 +2953,11 @@ display: relationship: none group_type: group admin_label: '' - empty: true - tokenize: true - content: 'Add training

' plugin_id: text_custom + empty: true + content: 'Add training

' + tokenize: true + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -2966,33 +2972,26 @@ display: - 'config:field.storage.oc_case.field_training_status' - 'config:field.storage.oc_case.field_training_type' page_2: - display_plugin: page id: page_2 display_title: 'All Trainings' + display_plugin: page position: 2 display_options: - display_extenders: { } - path: opencase/trainings/all - display_description: '' - defaults: - arguments: true - relationships: false - fields: true - footer: false - filters: false - filter_groups: false - sorts: false - menu: - type: normal - title: Trainings - description: '' - expanded: false - parent: opencase.see_all - weight: -47 - context: '0' - menu_name: opencase - footer: { } - relationships: { } + sorts: + field_date_of_training_value: + id: field_date_of_training_value + table: oc_case__field_date_of_training + field: field_date_of_training_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: DESC + expose: + label: '' + field_identifier: field_date_of_training_value + exposed: false + granularity: second filters: type: id: type @@ -3001,6 +3000,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_case + entity_field: type + plugin_id: bundle operator: in value: training: training @@ -3033,9 +3035,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: oc_case - entity_field: type - plugin_id: bundle field_date_of_training_value: id: field_date_of_training_value table: oc_case__field_date_of_training @@ -3043,6 +3042,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime operator: 'not empty' value: min: '' @@ -3065,9 +3065,9 @@ display: multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -3080,25 +3080,32 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: datetime filter_groups: operator: AND groups: 1: AND - sorts: - field_date_of_training_value: - id: field_date_of_training_value - table: oc_case__field_date_of_training - field: field_date_of_training_value - relationship: none - group_type: group - admin_label: '' - order: DESC - exposed: false - expose: - label: '' - granularity: second - plugin_id: datetime + defaults: + relationships: false + fields: true + sorts: false + arguments: true + filters: false + filter_groups: false + footer: false + relationships: { } + display_description: '' + footer: { } + display_extenders: { } + path: opencase/trainings/all + menu: + type: normal + title: Trainings + description: '' + weight: -47 + expanded: false + menu_name: opencase + parent: opencase.see_all + context: '0' cache_metadata: max-age: -1 contexts: