[ARVADOS] created: fd2bc65117ee362ccd1c675947d1b941863b7cf7
git at public.curoverse.com
git at public.curoverse.com
Wed Jul 23 13:44:02 EDT 2014
at fd2bc65117ee362ccd1c675947d1b941863b7cf7 (commit)
commit fd2bc65117ee362ccd1c675947d1b941863b7cf7
Author: Tim Pierce <twp at curoverse.com>
Date: Mon Jul 7 11:28:33 2014 -0400
2985: add "move project" to "Selection..." dropdown
diff --git a/apps/workbench/app/views/projects/_show_tab_contents.html.erb b/apps/workbench/app/views/projects/_show_tab_contents.html.erb
index 36f1907..9ac3be0 100644
--- a/apps/workbench/app/views/projects/_show_tab_contents.html.erb
+++ b/apps/workbench/app/views/projects/_show_tab_contents.html.erb
@@ -16,6 +16,19 @@
'data-remote' => true,
'method' => 'delete'
%></li>
+ <li><%= link_to "Move selected", '#',
+ 'data-href' => choose_projects_path(
+ title: 'Move to...',
+ editable: true,
+ action_name: 'Move',
+ action_href: url_for(action: :update),
+ action_method: 'patch',
+ action_data: {selection_param: @object.resource_param_name+'[owner_uuid]',
+ success: 'page-refresh'}.to_json),
+ 'data-remote' => true,
+ 'data-selection-param-name' => 'uuids[]',
+ 'data-selection-action' => 'move'
+ %></li>
</ul>
</div>
</div>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list