This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
opencase/config/install/views.view.cases.yml

610 lines
17 KiB
YAML
Raw Normal View History

2018-05-13 13:42:16 +00:00
langcode: en
status: true
dependencies:
config:
- user.role.authenticated
module:
- opencase_entities
2018-05-13 13:42:16 +00:00
- user
id: cases
label: Cases
2018-05-13 13:42:16 +00:00
module: views
description: ''
tag: ''
base_table: oc_case_field_data
base_field: id
2018-05-13 13:42:16 +00:00
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: role
options:
role:
authenticated: authenticated
cache:
2018-07-19 14:29:56 +00:00
type: none
2018-05-13 13:42:16 +00:00
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
2018-05-13 13:42:16 +00:00
exposed_form:
type: basic
2018-05-13 13:42:16 +00:00
options:
submit_button: Apply
2018-05-13 13:42:16 +00:00
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:
2018-07-19 14:47:16 +00:00
type: mini
2018-05-13 13:42:16 +00:00
options:
2018-07-19 14:47:16 +00:00
items_per_page: 20
2018-05-13 13:42:16 +00:00
offset: 0
2018-07-19 14:47:16 +00:00
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
2018-05-13 13:42:16 +00:00
style:
type: table
row:
type: fields
fields:
id:
id: id
table: oc_case_field_data
field: id
2018-05-13 13:42:16 +00:00
relationship: none
group_type: group
admin_label: ''
label: ID
exclude: true
2018-05-13 13:42:16 +00:00
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
2018-05-13 13:42:16 +00:00
settings:
thousand_separator: ''
prefix_suffix: true
2018-05-13 13:42:16 +00:00
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
2018-05-13 13:42:16 +00:00
relationship: none
group_type: group
admin_label: ''
label: 'Case Title'
2018-05-13 13:42:16 +00:00
exclude: false
alter:
alter_text: false
text: ''
make_link: true
2018-05-13 13:42:16 +00:00
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: foo
2018-05-13 13:42:16 +00:00
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
2018-05-13 13:42:16 +00:00
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
2018-05-13 13:42:16 +00:00
settings:
link_to_entity: false
2018-05-13 13:42:16 +00:00
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
2018-05-13 13:42:16 +00:00
type:
id: type
table: oc_case_field_data
2018-05-13 13:42:16 +00:00
field: type
relationship: none
group_type: group
admin_label: ''
label: Type
exclude: false
2018-05-13 13:42:16 +00:00
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: false
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: type
plugin_id: field
actors_involved_target_id:
id: actors_involved_target_id
table: oc_case__actors_involved
field: actors_involved_target_id
2018-05-13 13:42:16 +00:00
relationship: none
group_type: group
admin_label: ''
label: 'Involved Parties'
exclude: false
2018-05-13 13:42:16 +00:00
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
2018-05-13 13:42:16 +00:00
settings:
link: true
group_column: target_id
2018-05-13 13:42:16 +00:00
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: actors_involved
plugin_id: field
created:
id: created
table: oc_case_field_data
field: created
relationship: none
group_type: group
admin_label: ''
label: Created
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: ''
2018-05-13 13:42:16 +00:00
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: timestamp
settings:
date_format: short
custom_date_format: ''
timezone: ''
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: created
plugin_id: field
2018-05-13 13:42:16 +00:00
nothing:
id: nothing
table: views
field: nothing
relationship: none
group_type: group
admin_label: ''
label: 'Go to'
exclude: false
alter:
alter_text: true
text: "<ul><li><a href='/opencase/oc_case/{{ id }}'>Details/Files</a></li>\n<li><a href='/opencase/oc_case/{{ id}}/activity_list'>Activities</a>\n</li></ul>"
2018-05-13 13:42:16 +00:00
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
2018-05-13 13:42:16 +00:00
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
plugin_id: custom
filters: null
2018-05-13 13:42:16 +00:00
sorts:
created:
id: created
table: oc_case_field_data
field: created
2018-05-13 13:42:16 +00:00
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
2018-07-19 14:47:16 +00:00
granularity: day
entity_type: oc_case
entity_field: created
plugin_id: date
2018-07-19 14:47:16 +00:00
title: ''
header:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content:
value: '<p>To <strong>add a new case</strong>, first search for the person you want to add it to. If the person is not on the system yet, you can add them using the "People" menu.</p>'
format: basic_html
plugin_id: text
2018-05-13 13:42:16 +00:00
footer: { }
2018-07-19 14:47:16 +00:00
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: "<p>Either there are no cases involving this person, or you do not have access to them.</p>\n"
plugin_id: text_custom
2018-05-13 13:42:16 +00:00
relationships: { }
arguments:
actors_involved_target_id:
id: actors_involved_target_id
table: oc_case__actors_involved
field: actors_involved_target_id
relationship: none
group_type: group
admin_label: ''
default_action: ignore
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
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: actors_involved
plugin_id: numeric
2018-05-13 13:42:16 +00:00
display_extenders: { }
2018-07-19 14:47:16 +00:00
use_ajax: true
2018-05-13 13:42:16 +00:00
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
2018-07-19 14:47:16 +00:00
- url.query_args
2018-05-13 13:42:16 +00:00
- user.roles
tags: { }
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: opencase/oc_actor/%actor_id/case_list
2018-07-19 14:47:16 +00:00
defaults:
filters: false
filter_groups: false
filters: { }
filter_groups:
operator: AND
groups:
1: AND
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }
page_2:
display_plugin: page
id: page_2
display_title: 'All Cases'
position: 2
display_options:
display_extenders: { }
display_description: ''
arguments: { }
defaults:
arguments: false
filters: false
filter_groups: false
empty: false
path: opencase/all-cases
filters: null
2018-07-19 14:47:16 +00:00
filter_groups:
operator: AND
groups:
1: AND
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: "<h1>No cases found</h1>\n<p>You do not have access to any existing cases.</p>\n<p>To <b>add a new case</b>, first search for the person you want to add a case to. If they are not on the system yet you can add them using the <b>Add actors</b> menu in the left sidebar.</p>\n"
2018-07-19 14:47:16 +00:00
plugin_id: text_custom
2018-05-13 13:42:16 +00:00
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
2018-07-19 14:47:16 +00:00
- url.query_args
2018-05-13 13:42:16 +00:00
- user.roles
tags: { }