turned add debrief link to button
This commit is contained in:
parent
273d551b40
commit
d9f439c724
@ -21,104 +21,12 @@ base_table: oc_activity_field_data
|
|||||||
base_field: id
|
base_field: id
|
||||||
display:
|
display:
|
||||||
default:
|
default:
|
||||||
display_plugin: default
|
|
||||||
id: default
|
id: default
|
||||||
display_title: Master
|
display_title: Master
|
||||||
|
display_plugin: default
|
||||||
position: 0
|
position: 0
|
||||||
display_options:
|
display_options:
|
||||||
access:
|
title: Debrief
|
||||||
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: some
|
|
||||||
options:
|
|
||||||
items_per_page: 1
|
|
||||||
offset: 0
|
|
||||||
style:
|
|
||||||
type: table
|
|
||||||
options:
|
|
||||||
grouping: { }
|
|
||||||
row_class: '{{ status }}'
|
|
||||||
default_row_class: true
|
|
||||||
override: true
|
|
||||||
sticky: false
|
|
||||||
caption: ''
|
|
||||||
summary: 'Trainer Debrief'
|
|
||||||
description: ''
|
|
||||||
columns:
|
|
||||||
field_trainer: field_trainer
|
|
||||||
activity_date_time: activity_date_time
|
|
||||||
status: status
|
|
||||||
view_oc_activity: view_oc_activity
|
|
||||||
edit_oc_activity: edit_oc_activity
|
|
||||||
info:
|
|
||||||
field_trainer:
|
|
||||||
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:
|
fields:
|
||||||
field_trainer:
|
field_trainer:
|
||||||
id: field_trainer
|
id: field_trainer
|
||||||
@ -127,6 +35,7 @@ display:
|
|||||||
relationship: none
|
relationship: none
|
||||||
group_type: group
|
group_type: group
|
||||||
admin_label: ''
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
label: Trainer
|
label: Trainer
|
||||||
exclude: false
|
exclude: false
|
||||||
alter:
|
alter:
|
||||||
@ -182,7 +91,6 @@ display:
|
|||||||
multi_type: separator
|
multi_type: separator
|
||||||
separator: ', '
|
separator: ', '
|
||||||
field_api_classes: false
|
field_api_classes: false
|
||||||
plugin_id: field
|
|
||||||
status:
|
status:
|
||||||
id: status
|
id: status
|
||||||
table: oc_activity_field_data
|
table: oc_activity_field_data
|
||||||
@ -190,6 +98,9 @@ display:
|
|||||||
relationship: none
|
relationship: none
|
||||||
group_type: group
|
group_type: group
|
||||||
admin_label: ''
|
admin_label: ''
|
||||||
|
entity_type: oc_activity
|
||||||
|
entity_field: status
|
||||||
|
plugin_id: field
|
||||||
label: 'Publishing status'
|
label: 'Publishing status'
|
||||||
exclude: true
|
exclude: true
|
||||||
alter:
|
alter:
|
||||||
@ -235,8 +146,8 @@ display:
|
|||||||
type: boolean
|
type: boolean
|
||||||
settings:
|
settings:
|
||||||
format: default
|
format: default
|
||||||
format_custom_true: ''
|
|
||||||
format_custom_false: ''
|
format_custom_false: ''
|
||||||
|
format_custom_true: ''
|
||||||
group_column: value
|
group_column: value
|
||||||
group_columns: { }
|
group_columns: { }
|
||||||
group_rows: true
|
group_rows: true
|
||||||
@ -247,9 +158,6 @@ display:
|
|||||||
multi_type: separator
|
multi_type: separator
|
||||||
separator: ', '
|
separator: ', '
|
||||||
field_api_classes: false
|
field_api_classes: false
|
||||||
entity_type: oc_activity
|
|
||||||
entity_field: status
|
|
||||||
plugin_id: field
|
|
||||||
created:
|
created:
|
||||||
id: created
|
id: created
|
||||||
table: oc_activity_field_data
|
table: oc_activity_field_data
|
||||||
@ -257,6 +165,9 @@ display:
|
|||||||
relationship: none
|
relationship: none
|
||||||
group_type: group
|
group_type: group
|
||||||
admin_label: ''
|
admin_label: ''
|
||||||
|
entity_type: oc_activity
|
||||||
|
entity_field: created
|
||||||
|
plugin_id: field
|
||||||
label: Created
|
label: Created
|
||||||
exclude: false
|
exclude: false
|
||||||
alter:
|
alter:
|
||||||
@ -314,9 +225,6 @@ display:
|
|||||||
multi_type: separator
|
multi_type: separator
|
||||||
separator: ', '
|
separator: ', '
|
||||||
field_api_classes: false
|
field_api_classes: false
|
||||||
entity_type: oc_activity
|
|
||||||
entity_field: created
|
|
||||||
plugin_id: field
|
|
||||||
view_oc_activity:
|
view_oc_activity:
|
||||||
id: view_oc_activity
|
id: view_oc_activity
|
||||||
table: oc_activity
|
table: oc_activity
|
||||||
@ -324,6 +232,8 @@ display:
|
|||||||
relationship: none
|
relationship: none
|
||||||
group_type: group
|
group_type: group
|
||||||
admin_label: ''
|
admin_label: ''
|
||||||
|
entity_type: oc_activity
|
||||||
|
plugin_id: entity_link
|
||||||
label: ''
|
label: ''
|
||||||
exclude: false
|
exclude: false
|
||||||
alter:
|
alter:
|
||||||
@ -368,8 +278,6 @@ display:
|
|||||||
text: view
|
text: view
|
||||||
output_url_as_text: false
|
output_url_as_text: false
|
||||||
absolute: false
|
absolute: false
|
||||||
entity_type: oc_activity
|
|
||||||
plugin_id: entity_link
|
|
||||||
edit_oc_activity:
|
edit_oc_activity:
|
||||||
id: edit_oc_activity
|
id: edit_oc_activity
|
||||||
table: oc_activity
|
table: oc_activity
|
||||||
@ -377,6 +285,8 @@ display:
|
|||||||
relationship: none
|
relationship: none
|
||||||
group_type: group
|
group_type: group
|
||||||
admin_label: ''
|
admin_label: ''
|
||||||
|
entity_type: oc_activity
|
||||||
|
plugin_id: entity_link_edit
|
||||||
label: ''
|
label: ''
|
||||||
exclude: false
|
exclude: false
|
||||||
alter:
|
alter:
|
||||||
@ -421,8 +331,81 @@ display:
|
|||||||
text: edit
|
text: edit
|
||||||
output_url_as_text: false
|
output_url_as_text: false
|
||||||
absolute: false
|
absolute: false
|
||||||
|
pager:
|
||||||
|
type: some
|
||||||
|
options:
|
||||||
|
offset: 0
|
||||||
|
items_per_page: 1
|
||||||
|
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:
|
||||||
|
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: "Trainer debrief will appear here once it is added.\r\n<div><a class=\"button\" 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></div\r\n"
|
||||||
|
tokenize: true
|
||||||
|
sorts: { }
|
||||||
|
arguments:
|
||||||
|
oc_case:
|
||||||
|
id: oc_case
|
||||||
|
table: oc_activity_field_data
|
||||||
|
field: oc_case
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
entity_type: oc_activity
|
entity_type: oc_activity
|
||||||
plugin_id: entity_link_edit
|
entity_field: oc_case
|
||||||
|
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
|
||||||
filters:
|
filters:
|
||||||
type:
|
type:
|
||||||
id: type
|
id: type
|
||||||
@ -431,6 +414,9 @@ display:
|
|||||||
relationship: none
|
relationship: none
|
||||||
group_type: group
|
group_type: group
|
||||||
admin_label: ''
|
admin_label: ''
|
||||||
|
entity_type: oc_activity
|
||||||
|
entity_field: type
|
||||||
|
plugin_id: bundle
|
||||||
operator: in
|
operator: in
|
||||||
value:
|
value:
|
||||||
trainer_debrief: trainer_debrief
|
trainer_debrief: trainer_debrief
|
||||||
@ -463,24 +449,76 @@ display:
|
|||||||
default_group: All
|
default_group: All
|
||||||
default_group_multiple: { }
|
default_group_multiple: { }
|
||||||
group_items: { }
|
group_items: { }
|
||||||
entity_type: oc_activity
|
style:
|
||||||
entity_field: type
|
type: table
|
||||||
plugin_id: bundle
|
options:
|
||||||
sorts: { }
|
grouping: { }
|
||||||
header: { }
|
row_class: '{{ status }}'
|
||||||
footer: { }
|
default_row_class: true
|
||||||
empty:
|
columns:
|
||||||
area_text_custom:
|
field_trainer: field_trainer
|
||||||
id: area_text_custom
|
activity_date_time: activity_date_time
|
||||||
table: views
|
status: status
|
||||||
field: area_text_custom
|
view_oc_activity: view_oc_activity
|
||||||
relationship: none
|
edit_oc_activity: edit_oc_activity
|
||||||
group_type: group
|
default: '-1'
|
||||||
admin_label: ''
|
info:
|
||||||
empty: true
|
field_trainer:
|
||||||
tokenize: true
|
sortable: false
|
||||||
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"
|
default_sort_order: asc
|
||||||
plugin_id: text_custom
|
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: 'Trainer Debrief'
|
||||||
|
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:
|
relationships:
|
||||||
oc_case:
|
oc_case:
|
||||||
id: oc_case
|
id: oc_case
|
||||||
@ -489,51 +527,13 @@ display:
|
|||||||
relationship: none
|
relationship: none
|
||||||
group_type: group
|
group_type: group
|
||||||
admin_label: Case
|
admin_label: Case
|
||||||
required: true
|
|
||||||
entity_type: oc_activity
|
entity_type: oc_activity
|
||||||
entity_field: oc_case
|
entity_field: oc_case
|
||||||
plugin_id: standard
|
plugin_id: standard
|
||||||
arguments:
|
required: true
|
||||||
oc_case:
|
header: { }
|
||||||
id: oc_case
|
footer: { }
|
||||||
table: oc_activity_field_data
|
|
||||||
field: oc_case
|
|
||||||
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_activity
|
|
||||||
entity_field: oc_case
|
|
||||||
plugin_id: numeric
|
|
||||||
display_extenders: { }
|
display_extenders: { }
|
||||||
title: Debrief
|
|
||||||
cache_metadata:
|
cache_metadata:
|
||||||
max-age: -1
|
max-age: -1
|
||||||
contexts:
|
contexts:
|
||||||
@ -544,13 +544,13 @@ display:
|
|||||||
tags:
|
tags:
|
||||||
- 'config:field.storage.oc_activity.field_trainer'
|
- 'config:field.storage.oc_activity.field_trainer'
|
||||||
block_1:
|
block_1:
|
||||||
display_plugin: block
|
|
||||||
id: block_1
|
id: block_1
|
||||||
display_title: Block
|
display_title: Block
|
||||||
|
display_plugin: block
|
||||||
position: 1
|
position: 1
|
||||||
display_options:
|
display_options:
|
||||||
display_extenders: { }
|
|
||||||
title: 'Trainer Debriefs'
|
title: 'Trainer Debriefs'
|
||||||
|
display_extenders: { }
|
||||||
cache_metadata:
|
cache_metadata:
|
||||||
max-age: -1
|
max-age: -1
|
||||||
contexts:
|
contexts:
|
||||||
|
Reference in New Issue
Block a user