diff --git a/app/assets/stylesheets/my_modules/protocols/index.scss b/app/assets/stylesheets/my_modules/protocols/index.scss index 98b42bd52..f0c160744 100644 --- a/app/assets/stylesheets/my_modules/protocols/index.scss +++ b/app/assets/stylesheets/my_modules/protocols/index.scss @@ -66,7 +66,7 @@ .complete-button-container { float: right; - width: 165px; + width: 260px; .my_module-state-buttons { padding-top: 0; @@ -239,11 +239,6 @@ } } -#protocol-copy-to-repository { - border-left: 0; - border-radius: 0 5px 5px 0; -} - .my-module-recent-protocols { flex-grow: 1; margin-bottom: 5px; diff --git a/app/assets/stylesheets/themes/main_navigation.scss b/app/assets/stylesheets/themes/main_navigation.scss index 955de0567..47026d105 100644 --- a/app/assets/stylesheets/themes/main_navigation.scss +++ b/app/assets/stylesheets/themes/main_navigation.scss @@ -420,6 +420,7 @@ padding: 1px 6px; position: relative; top: -10px; + left: 4px; z-index: 1; } } diff --git a/app/views/my_modules/protocols/_protocol_buttons.html.erb b/app/views/my_modules/protocols/_protocol_buttons.html.erb index bc2e1e771..421dbbd3d 100644 --- a/app/views/my_modules/protocols/_protocol_buttons.html.erb +++ b/app/views/my_modules/protocols/_protocol_buttons.html.erb @@ -32,11 +32,9 @@  <%= t("my_modules.protocols.buttons.export") %> <% end %> <% if can_read_protocol_in_module?(@protocol) && can_create_protocols_in_repository?(@protocol.team) %> - - <%= link_to copy_to_repository_modal_protocol_path(@protocol, format: :json), id: "protocol-copy-to-repository", class: "btn btn-default", remote: true, data: { action: "copy-to-repository" } do %> -  <%= t("my_modules.protocols.buttons.copy_to_repository") %> - <% end %> - + +  <%= t("my_modules.protocols.buttons.copy_to_repository") %> + <% else %>  <%= t("my_modules.protocols.buttons.copy_to_repository") %> <% end %>