changed no-results wording in views

This commit is contained in:
naomi 2018-07-19 16:47:16 +02:00
parent af0040479e
commit c507fb29b7
2 changed files with 184 additions and 7 deletions

View File

@ -389,7 +389,18 @@ display:
title: 'Activity List' title: 'Activity List'
header: { } header: { }
footer: { } footer: { }
empty: { } 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: 'This case has no activities yet. To add one, use the links in the sidebar to the right.'
plugin_id: text_custom
relationships: { } relationships: { }
arguments: arguments:
oc_case: oc_case:

View File

@ -48,10 +48,23 @@ display:
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
pager: pager:
type: some type: mini
options: options:
items_per_page: 10 items_per_page: 20
offset: 0 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: style:
type: table type: table
row: row:
@ -434,7 +447,52 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: false hide_alter_empty: false
plugin_id: custom plugin_id: custom
filters: { } filters:
type:
id: type
table: oc_case_field_data
field: type
relationship: none
group_type: group
admin_label: ''
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: type_op
label: 'Case type'
description: ''
use_operator: false
operator: type_op
identifier: type
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
overseer: '0'
caseworker: '0'
volunteer_co_ord: '0'
opencase_admin: '0'
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
sorts: sorts:
created: created:
id: created id: created
@ -447,14 +505,25 @@ display:
exposed: false exposed: false
expose: expose:
label: '' label: ''
granularity: hour granularity: day
entity_type: oc_case entity_type: oc_case
entity_field: created entity_field: created
plugin_id: date plugin_id: date
title: 'Case List' title: ''
header: { } header: { }
footer: { } footer: { }
empty: { } 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
relationships: { } relationships: { }
arguments: arguments:
actors_involved_target_id: actors_involved_target_id:
@ -495,12 +564,14 @@ display:
entity_field: actors_involved entity_field: actors_involved
plugin_id: numeric plugin_id: numeric
display_extenders: { } display_extenders: { }
use_ajax: true
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args
- user.roles - user.roles
tags: { } tags: { }
page_1: page_1:
@ -511,11 +582,106 @@ display:
display_options: display_options:
display_extenders: { } display_extenders: { }
path: opencase/oc_actor/%actor_id/case_list path: opencase/oc_actor/%actor_id/case_list
defaults:
filters: false
filter_groups: false
filters: { }
filter_groups:
operator: AND
groups:
1: AND
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - 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:
type:
id: type
table: oc_case_field_data
field: type
relationship: none
group_type: group
admin_label: ''
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: type_op
label: 'Case type'
description: ''
use_operator: false
operator: type_op
identifier: type
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
overseer: '0'
caseworker: '0'
volunteer_co_ord: '0'
opencase_admin: '0'
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
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"
plugin_id: text_custom
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles - user.roles
tags: { } tags: { }