projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8de338d
)
10645: rename file
author
radhika <radhika@curoverse.com>
Wed, 3 May 2017 18:37:38 +0000
(14:37 -0400)
committer
radhika <radhika@curoverse.com>
Wed, 3 May 2017 18:37:38 +0000
(14:37 -0400)
apps/workbench/app/views/work_units/_component_detail.html.erb
patch
|
blob
|
history
apps/workbench/app/views/work_units/_show_mount_inputs.html.erb
[moved from
apps/workbench/app/views/work_units/_show_inputs.html.erb
with 100% similarity]
patch
|
blob
|
history
diff --git
a/apps/workbench/app/views/work_units/_component_detail.html.erb
b/apps/workbench/app/views/work_units/_component_detail.html.erb
index f1baf7b76f7ad0292e2cf48d019c262929aac7df..189c16230f0e3f54c889e168bf2ad6ced00dd480 100644
(file)
--- a/
apps/workbench/app/views/work_units/_component_detail.html.erb
+++ b/
apps/workbench/app/views/work_units/_component_detail.html.erb
@@
-95,13
+95,13
@@
<%
mounts = current_obj.send(:mounts) if current_obj.respond_to?(:mounts)
mount_wf = mounts.andand[:"/var/lib/cwl/workflow.json"]
<%
mounts = current_obj.send(:mounts) if current_obj.respond_to?(:mounts)
mount_wf = mounts.andand[:"/var/lib/cwl/workflow.json"]
- mount_wf = mount_wf[5..-1] if mount_wf.andand.start_with?('keep:')
+ mount_wf = mount_wf[5..-1] if mount_wf.andand.
is_a?(String) and mount_wf.
start_with?('keep:')
mount_wf_cls = resource_class_for_uuid(mount_wf) if mount_wf
%>
<tr>
<% if mount_wf_cls == Collection %>
<td style="padding-right: 1em">
mount_wf_cls = resource_class_for_uuid(mount_wf) if mount_wf
%>
<tr>
<% if mount_wf_cls == Collection %>
<td style="padding-right: 1em">
- mount
workflow:
+ mount
_
workflow:
</td>
<td>
<%= link_to_if_arvados_object mount_wf, friendly_name: true %>
</td>
<td>
<%= link_to_if_arvados_object mount_wf, friendly_name: true %>
@@
-178,7
+178,7
@@
input_mounts:
</td>
<td>
input_mounts:
</td>
<td>
- <%= render partial: 'work_units/show_inputs',
+ <%= render partial: 'work_units/show_
mount_
inputs',
locals: {id: current_obj.uuid, name: 'mount-inputs', inputs: mnt_inputs} %>
</td>
<% end %>
locals: {id: current_obj.uuid, name: 'mount-inputs', inputs: mnt_inputs} %>
</td>
<% end %>
diff --git
a/apps/workbench/app/views/work_units/_show_inputs.html.erb
b/apps/workbench/app/views/work_units/_show_mount_inputs.html.erb
similarity index 100%
rename from
apps/workbench/app/views/work_units/_show_inputs.html.erb
rename to
apps/workbench/app/views/work_units/_show_mount_inputs.html.erb