Always showing add debrief button

This commit is contained in:
naomi 2022-05-09 17:45:01 +01:00
parent ab732b0eda
commit 738e6730ea
5 changed files with 21 additions and 30 deletions

View File

@ -1,3 +1,3 @@
interval: 10800
_core: _core:
default_config_hash: fUksROt4FfkAU9BV4hV2XvhTBSS2nTNrZS4U7S-tKrs default_config_hash: fUksROt4FfkAU9BV4hV2XvhTBSS2nTNrZS4U7S-tKrs
interval: 10800

View File

@ -143,4 +143,8 @@ hidden:
full_name: true full_name: true
middle_names: true middle_names: true
phone2: true phone2: true
recent_cases: true
search_api_excerpt: true search_api_excerpt: true
status: true
total_cases: true
user_id: true

View File

@ -1,6 +1,6 @@
_core:
default_config_hash: 5Pw921y1EPfFN98wykliBBLArm51pC-SmrXeYCe7d0Y
threshold: threshold:
requirements_warning: 172800 requirements_warning: 172800
requirements_error: 1209600 requirements_error: 1209600
logging: 1 logging: 1
_core:
default_config_hash: 5Pw921y1EPfFN98wykliBBLArm51pC-SmrXeYCe7d0Y

View File

@ -354,18 +354,7 @@ display:
cache: cache:
type: tag type: tag
options: { } options: { }
empty: 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: { } sorts: { }
arguments: arguments:
oc_case: oc_case:
@ -532,7 +521,18 @@ display:
plugin_id: standard plugin_id: standard
required: true required: true
header: { } header: { }
footer: { } 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: '<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>'
tokenize: true
display_extenders: { } display_extenders: { }
cache_metadata: cache_metadata:
max-age: -1 max-age: -1

View File

@ -369,20 +369,7 @@ display:
cache: cache:
type: tag type: tag
options: { } options: { }
empty: empty: { }
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
plugin_id: text
empty: true
content:
value: 'Evaluations will appear here once they are added.'
format: full_html
tokenize: false
sorts: { } sorts: { }
arguments: arguments:
oc_case: oc_case: