added destination to the buttons for adding things to things, to return to the original thing

This commit is contained in:
2021-11-12 10:07:04 +00:00
parent 5fc619007d
commit a8cc0a8229
9 changed files with 403 additions and 97 deletions
+54 -1
View File
@@ -408,6 +408,59 @@ display:
entity_type: oc_case_provision
entity_field: oc_case_provider_role
plugin_id: field
edit_oc_case_provision:
id: edit_oc_case_provision
table: oc_case_provision
field: edit_oc_case_provision
relationship: none
group_type: group
admin_label: ''
label: ''
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: ''
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
text: edit
output_url_as_text: false
absolute: false
entity_type: oc_case_provision
plugin_id: entity_link_edit
filters:
status:
value: '1'
@@ -434,7 +487,7 @@ display:
admin_label: ''
empty: true
tokenize: true
content: '<a class="button" href="/admin/opencase/oc_case_provision/add/trainer?case_id={{ raw_arguments.oc_case }}">Add trainer</a><br /><br />'
content: '<a class="button" href="/admin/opencase/oc_case_provision/add/trainer?case_id={{ raw_arguments.oc_case }}&destination=/opencase/oc_case/{{ raw_arguments.oc_case }}">Add trainer</a><br /><br />'
plugin_id: text_custom
empty:
area: