From 914697d4bff85d200624944d5adfcd8fa08f88b9 Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Tue, 5 Sep 2023 15:54:53 +0200 Subject: [PATCH] Fix status flow modal to work across multiple pages [SCI-9212] --- app/views/my_modules/_header_actions.html.erb | 5 +++++ app/views/my_modules/protocols.html.erb | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/my_modules/_header_actions.html.erb b/app/views/my_modules/_header_actions.html.erb index b5a593713..6e8564ac7 100644 --- a/app/views/my_modules/_header_actions.html.erb +++ b/app/views/my_modules/_header_actions.html.erb @@ -41,3 +41,8 @@ <%= render partial: '/my_modules/task_flow_and_sharing' %> + + +<% if @my_module.my_module_status_flow %> + <%= render partial: 'my_modules/modals/status_flow_modal' %> +<% end %> diff --git a/app/views/my_modules/protocols.html.erb b/app/views/my_modules/protocols.html.erb index bc783506e..66416d357 100644 --- a/app/views/my_modules/protocols.html.erb +++ b/app/views/my_modules/protocols.html.erb @@ -146,11 +146,6 @@ <%= render partial: "protocols/import_export/import_elements" %> - -<% if @my_module.my_module_status_flow %> - <%= render partial: 'my_modules/modals/status_flow_modal' %> -<% end %> - <%= render partial: 'assets/wopi/create_wopi_file_modal' %>