[ARVADOS] updated: dd69c4bad124d39f876ec6fb0e733e2db289a4bd
Git user
git at public.curoverse.com
Mon May 8 21:58:32 EDT 2017
Summary of changes:
apps/workbench/app/views/work_units/_component_detail.html.erb | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
via dd69c4bad124d39f876ec6fb0e733e2db289a4bd (commit)
from 575b2f04b80a8bb2cf5ab61ce80a94d5fe017aa3 (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 dd69c4bad124d39f876ec6fb0e733e2db289a4bd
Author: radhika <radhika at curoverse.com>
Date: Mon May 8 21:58:07 2017 -0400
10645: collection links in command
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 a767a16..e87e5b5 100644
--- a/apps/workbench/app/views/work_units/_component_detail.html.erb
+++ b/apps/workbench/app/views/work_units/_component_detail.html.erb
@@ -162,9 +162,10 @@
<% l.split(' ').each do |w| %>
<% match = keep_locator_in_json w %>
<% if match %>
- <% pdh_readable = object_readable(match[2]) %>
+ <% rindex = match[2].rindex('"'); match2 = match[2][0..rindex-1] %>
+ <% pdh_readable = object_readable(match2) %>
<% quote_char = '"' %>
- <%= match[1] %><% if pdh_readable then %><%= link_to_arvados_object_if_readable(match[3], match[3], friendly_name: true) %><%= link_to_arvados_object_if_readable(match[2], match[2], link_text: match[4]) %><%=quote_char%><% else %><%= match[2]%><% end %><%=match[5]%>
+ <%= match[1] %><% if pdh_readable then %><%= link_to_arvados_object_if_readable(match[3], match[3], friendly_name: true) %><%= link_to_arvados_object_if_readable(match2, match2, link_text: match[4]) %><% else %><%= match2%><% end %><%=quote_char+match[5]%>
<% else %>
<%= w %>
<% end %>
@@ -196,10 +197,11 @@
<% match = keep_locator_in_json l %>
<% if match %>
<% text_part = match[1] %>
- <% pdh_readable = object_readable(match[2]) %>
+ <% rindex = match[2].rindex('"'); match2 = match[2][0..rindex-1] %>
+ <% pdh_readable = object_readable(match2) %>
<% quote_char = '"' %>
<% end %>
- <span style="white-space: pre-wrap; margin: none;"><%= text_part %><% if match %><% if pdh_readable then %><%= link_to_arvados_object_if_readable(match[3], match[3], friendly_name: true) %><%= link_to_arvados_object_if_readable(match[2], match[2], link_text: match[4]) %><%=quote_char%><% else %><%= match[2]%><% end %><%=match[5]%><br/><% end %></span>
+ <span style="white-space: pre-wrap; margin: none;"><%= text_part %><% if match %><% if pdh_readable then %><%= link_to_arvados_object_if_readable(match[3], match[3], friendly_name: true) %><%= link_to_arvados_object_if_readable(match2, match2, link_text: match[4]) %><% else %><%= match2%><% end %><%=quote_char+match[5]%><br/><% end %></span>
<% end %>
</div>
</td>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list