diff --git a/app/views/dmsf/copymove.html.erb b/app/views/dmsf/copymove.html.erb index 7bc43864..f9ff5c78 100644 --- a/app/views/dmsf/copymove.html.erb +++ b/app/views/dmsf/copymove.html.erb @@ -48,11 +48,11 @@
- <%= submit_tag l(:button_copy), id: 'copy_button' %> + <%= submit_tag l(:button_copy), id: 'copy_button', data: { cy: "button__copy--dmsf" } %> <%# TODO: Lock and proper permissions %> <% if User.current.allowed_to?(:folder_manipulation, @project) && User.current.allowed_to?(:file_manipulation, @project)%> - <%= submit_tag l(:button_move), id: 'move_button' %> + <%= submit_tag l(:button_move), id: 'move_button', data: { cy: "button__move--dmsf" } %> <% end %>
<% end %> diff --git a/app/views/dmsf_context_menus/_file.html.erb b/app/views/dmsf_context_menus/_file.html.erb index f3db389e..06b31972 100644 --- a/app/views/dmsf_context_menus/_file.html.erb +++ b/app/views/dmsf_context_menus/_file.html.erb @@ -76,7 +76,7 @@<%= l(:info_file_locked) %>
@@ -75,7 +77,7 @@ <%= f.text_area :comment, rows: 2, label: l(:label_comment), class: 'wiki-edit dmsf-description' %>