projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4232: bonus fix of missing word in template
[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 83d08f55276a5c29df97f39d65a54c6010f71124..887529b10d5c35e435608f33f1ae61631afc0209 100644
(file)
--- a/
apps/workbench/app/views/application/_title_and_buttons.html.erb
+++ b/
apps/workbench/app/views/application/_title_and_buttons.html.erb
@@
-27,12
+27,11
@@
success: 'redirect-to-created-object'
}.to_json),
{ class: "btn btn-sm btn-primary", remote: true, method: 'get',
success: 'redirect-to-created-object'
}.to_json),
{ class: "btn btn-sm btn-primary", remote: true, method: 'get',
- title: "Make a copy this #{object_class}" }) do %>
+ title: "Make a copy
of
this #{object_class}" }) do %>
<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 current_user.is_admin 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:",