138 Remove button to add debrief when there is already a debrief
This commit is contained in:
parent
7c0eec0b84
commit
9df743215c
@ -3,14 +3,16 @@ langcode: en
|
|||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
|
- field.storage.oc_activity.field_trainer
|
||||||
- opencase_entities.oc_activity_type.trainer_debrief
|
- opencase_entities.oc_activity_type.trainer_debrief
|
||||||
|
- user.role.authenticated
|
||||||
module:
|
module:
|
||||||
- datetime
|
- datetime
|
||||||
- opencase_cases
|
- opencase_cases
|
||||||
- opencase_entities
|
- opencase_entities
|
||||||
- user
|
- user
|
||||||
id: oc_case.training.debriefs
|
id: oc_case.training.debriefs
|
||||||
label: Debriefs
|
label: Debrief
|
||||||
display_label: true
|
display_label: true
|
||||||
name: debriefs
|
name: debriefs
|
||||||
description: ''
|
description: ''
|
||||||
@ -33,14 +35,14 @@ field_type_condition:
|
|||||||
id: route
|
id: route
|
||||||
routes: ''
|
routes: ''
|
||||||
negate: false
|
negate: false
|
||||||
current_theme:
|
|
||||||
id: current_theme
|
|
||||||
theme: ''
|
|
||||||
negate: 0
|
|
||||||
request_path:
|
request_path:
|
||||||
id: request_path
|
id: request_path
|
||||||
pages: ''
|
pages: ''
|
||||||
negate: false
|
negate: false
|
||||||
|
current_theme:
|
||||||
|
id: current_theme
|
||||||
|
theme: ''
|
||||||
|
negate: 0
|
||||||
field_conditions_all_pass: false
|
field_conditions_all_pass: false
|
||||||
display:
|
display:
|
||||||
type: view
|
type: view
|
||||||
|
@ -27,6 +27,9 @@ settings:
|
|||||||
-
|
-
|
||||||
value: post_training_materials_sent
|
value: post_training_materials_sent
|
||||||
label: 'Post training materials sent'
|
label: 'Post training materials sent'
|
||||||
|
-
|
||||||
|
value: client_no_show
|
||||||
|
label: 'Client no-show'
|
||||||
allowed_values_function: ''
|
allowed_values_function: ''
|
||||||
module: options
|
module: options
|
||||||
locked: false
|
locked: false
|
||||||
|
@ -14,7 +14,7 @@ dependencies:
|
|||||||
_core:
|
_core:
|
||||||
default_config_hash: SxsvSdjmVHSg9OmH0pUqCTeGy9mRdcHyZ2YhOC5HBOc
|
default_config_hash: SxsvSdjmVHSg9OmH0pUqCTeGy9mRdcHyZ2YhOC5HBOc
|
||||||
id: debriefs
|
id: debriefs
|
||||||
label: Debriefs
|
label: Debrief
|
||||||
module: views
|
module: views
|
||||||
description: ''
|
description: ''
|
||||||
tag: ''
|
tag: ''
|
||||||
@ -54,23 +54,10 @@ display:
|
|||||||
sort_asc_label: Asc
|
sort_asc_label: Asc
|
||||||
sort_desc_label: Desc
|
sort_desc_label: Desc
|
||||||
pager:
|
pager:
|
||||||
type: mini
|
type: some
|
||||||
options:
|
options:
|
||||||
items_per_page: 50
|
items_per_page: 1
|
||||||
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
|
||||||
options:
|
options:
|
||||||
@ -79,15 +66,23 @@ display:
|
|||||||
default_row_class: true
|
default_row_class: true
|
||||||
override: true
|
override: true
|
||||||
sticky: false
|
sticky: false
|
||||||
caption: 'Trainer Debriefs'
|
caption: ''
|
||||||
summary: 'Trainer Debrief'
|
summary: 'Trainer Debrief'
|
||||||
description: ''
|
description: ''
|
||||||
columns:
|
columns:
|
||||||
activity_date_time: activity_date_time
|
|
||||||
field_trainer: field_trainer
|
field_trainer: field_trainer
|
||||||
view_oc_activity: view_oc_activity
|
activity_date_time: activity_date_time
|
||||||
status: status
|
status: status
|
||||||
|
view_oc_activity: view_oc_activity
|
||||||
|
edit_oc_activity: edit_oc_activity
|
||||||
info:
|
info:
|
||||||
|
field_trainer:
|
||||||
|
sortable: false
|
||||||
|
default_sort_order: asc
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
activity_date_time:
|
activity_date_time:
|
||||||
sortable: false
|
sortable: false
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
@ -95,7 +90,7 @@ display:
|
|||||||
separator: ''
|
separator: ''
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
field_trainer:
|
status:
|
||||||
sortable: false
|
sortable: false
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
align: ''
|
align: ''
|
||||||
@ -109,7 +104,7 @@ display:
|
|||||||
separator: ''
|
separator: ''
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
status:
|
edit_oc_activity:
|
||||||
sortable: false
|
sortable: false
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
align: ''
|
align: ''
|
||||||
@ -473,7 +468,8 @@ display:
|
|||||||
plugin_id: bundle
|
plugin_id: bundle
|
||||||
sorts: { }
|
sorts: { }
|
||||||
header: { }
|
header: { }
|
||||||
footer:
|
footer: { }
|
||||||
|
empty:
|
||||||
area_text_custom:
|
area_text_custom:
|
||||||
id: area_text_custom
|
id: area_text_custom
|
||||||
table: views
|
table: views
|
||||||
@ -483,22 +479,8 @@ display:
|
|||||||
admin_label: ''
|
admin_label: ''
|
||||||
empty: true
|
empty: true
|
||||||
tokenize: true
|
tokenize: true
|
||||||
content: "<a class=\"button\" href=\"/opencase/oc_activity/add/trainer_debrief?case_id={{ raw_arguments.oc_case }}\">Add trainer debrief</a><br />\r\n\r\n \r\n<br />"
|
content: "Trainer debrief will appear here once it is added.\r\n<br />\r\n<a href=\"/opencase/oc_activity/add/trainer_debrief?case_id={{ raw_arguments.oc_case }}&destination=/opencase/oc_case/{{ raw_arguments.oc_case }}\">Add trainer debrief</a>\r\n"
|
||||||
plugin_id: text_custom
|
plugin_id: text_custom
|
||||||
empty:
|
|
||||||
area:
|
|
||||||
id: area
|
|
||||||
table: views
|
|
||||||
field: area
|
|
||||||
relationship: none
|
|
||||||
group_type: group
|
|
||||||
admin_label: ''
|
|
||||||
empty: true
|
|
||||||
tokenize: false
|
|
||||||
content:
|
|
||||||
value: 'Trainer debriefs will appear here once they are added.'
|
|
||||||
format: full_html
|
|
||||||
plugin_id: text
|
|
||||||
relationships:
|
relationships:
|
||||||
oc_case:
|
oc_case:
|
||||||
id: oc_case
|
id: oc_case
|
||||||
@ -551,13 +533,13 @@ display:
|
|||||||
entity_field: oc_case
|
entity_field: oc_case
|
||||||
plugin_id: numeric
|
plugin_id: numeric
|
||||||
display_extenders: { }
|
display_extenders: { }
|
||||||
|
title: Debrief
|
||||||
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:
|
||||||
- 'config:field.storage.oc_activity.field_trainer'
|
- 'config:field.storage.oc_activity.field_trainer'
|
||||||
@ -575,7 +557,6 @@ display:
|
|||||||
- 'languages:language_content'
|
- 'languages:language_content'
|
||||||
- 'languages:language_interface'
|
- 'languages:language_interface'
|
||||||
- url
|
- url
|
||||||
- url.query_args
|
|
||||||
- user.roles
|
- user.roles
|
||||||
tags:
|
tags:
|
||||||
- 'config:field.storage.oc_activity.field_trainer'
|
- 'config:field.storage.oc_activity.field_trainer'
|
||||||
|
@ -78,13 +78,15 @@ display:
|
|||||||
default_row_class: true
|
default_row_class: true
|
||||||
override: true
|
override: true
|
||||||
sticky: false
|
sticky: false
|
||||||
caption: Evaluations
|
caption: ''
|
||||||
summary: ''
|
summary: ''
|
||||||
description: ''
|
description: ''
|
||||||
columns:
|
columns:
|
||||||
name: name
|
name: name
|
||||||
activity_date_time: activity_date_time
|
activity_date_time: activity_date_time
|
||||||
status: status
|
status: status
|
||||||
|
view_oc_activity: view_oc_activity
|
||||||
|
edit_oc_activity: edit_oc_activity
|
||||||
info:
|
info:
|
||||||
name:
|
name:
|
||||||
sortable: false
|
sortable: false
|
||||||
@ -107,6 +109,20 @@ display:
|
|||||||
separator: ''
|
separator: ''
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
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'
|
default: '-1'
|
||||||
empty_table: false
|
empty_table: false
|
||||||
row:
|
row:
|
||||||
|
Reference in New Issue
Block a user