[ARVADOS] updated: bda338bf2fd3bac648fad00e4646ff574510956f
git at public.curoverse.com
git at public.curoverse.com
Fri Aug 8 11:27:13 EDT 2014
Summary of changes:
.../app/views/application/_content.html.erb | 21 ---------------------
1 file changed, 21 deletions(-)
via bda338bf2fd3bac648fad00e4646ff574510956f (commit)
from 1076b57c3d701df3ceaa4d54973ccc533729f097 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit bda338bf2fd3bac648fad00e4646ff574510956f
Author: Tom Clegg <tom at curoverse.com>
Date: Fri Aug 8 11:27:08 2014 -0400
3499: Remove "not in any project" warning.
diff --git a/apps/workbench/app/views/application/_content.html.erb b/apps/workbench/app/views/application/_content.html.erb
index 1609a66..776787b 100644
--- a/apps/workbench/app/views/application/_content.html.erb
+++ b/apps/workbench/app/views/application/_content.html.erb
@@ -1,24 +1,3 @@
-<% content_for :content_top do %>
- <% if @object and not @object.is_a?(Group) and @object.class.goes_in_projects? and @object.owner_uuid == current_user.uuid and not @name_link %>
- <div class="pull-right" style="width: 40%">
- <div class="alert alert-warning alert-dismissable">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <strong>Hey.</strong> This <%= @object.class_for_display.downcase %> belongs to your account, but it's not in any of your projects. If you want it to be easy to find in the future, you should move it to a project.<br />
- <%= button_to(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),
- { class: "btn btn-primary btn-sm", remote: true, method: 'get' }) do %>
- <i class="fa fa-fw fa-folder"></i> Choose a project...
- <% end %>
- </div>
- </div>
- <% end %>
-<% end %>
-
<% content_for :tab_panes do %>
<% comparable = controller.respond_to? :compare %>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list