projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4084: Remove excess loaded class.
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
application
/
_title_and_buttons.html.erb
diff --git
a/apps/workbench/app/views/application/_title_and_buttons.html.erb
b/apps/workbench/app/views/application/_title_and_buttons.html.erb
index 4d54fd08ba0ce0464d561fcb4ed26d16b5ffaeaf..4a40510dc41956cd665f7f8cdfff7236aeeee939 100644
(file)
--- a/
apps/workbench/app/views/application/_title_and_buttons.html.erb
+++ b/
apps/workbench/app/views/application/_title_and_buttons.html.erb
@@
-31,7
+31,7
@@
<i class="fa fa-fw fa-copy"></i> Copy to project...
<% end %>
<% end %>
<i class="fa fa-fw fa-copy"></i> Copy to project...
<% end %>
<% end %>
- <% if
@object.owner_uuid == current_user.uuid or (Group
.find(@object.owner_uuid).writable_by.include?(current_user.uuid) rescue nil) %>
+ <% if
(ArvadosBase
.find(@object.owner_uuid).writable_by.include?(current_user.uuid) rescue nil) %>
<%= link_to(
choose_projects_path(
title: "Move this #{object_class} to:",
<%= link_to(
choose_projects_path(
title: "Move this #{object_class} to:",