projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
85ce092
)
2871: fix the typo caught by integration test
author
radhika <radhika@curoverse.com>
Wed, 11 Jun 2014 16:22:32 +0000
(12:22 -0400)
committer
radhika <radhika@curoverse.com>
Wed, 11 Jun 2014 16:22:32 +0000
(12:22 -0400)
apps/workbench/app/helpers/application_helper.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/app/helpers/application_helper.rb
b/apps/workbench/app/helpers/application_helper.rb
index 426a82534dc2d300acdf5c2b472db077b6e72d86..2b7ec147a47759c03985a3c4cccac2b725328a6e 100644
(file)
--- a/
apps/workbench/app/helpers/application_helper.rb
+++ b/
apps/workbench/app/helpers/application_helper.rb
@@
-265,7
+265,7
@@
module ApplicationHelper
if attrvalue and !attrvalue.empty?
links_for_object(attrvalue).each do |link|
if link.link_class.in? ["tag", "identifier"]
if attrvalue and !attrvalue.empty?
links_for_object(attrvalue).each do |link|
if link.link_class.in? ["tag", "identifier"]
- attrtext += " [#{
tag
.name}]"
+ attrtext += " [#{
link
.name}]"
end
end
selectables.append({name: attrtext, uuid: attrvalue, type: dataclass.to_s})
end
end
selectables.append({name: attrtext, uuid: attrvalue, type: dataclass.to_s})
@@
-280,8
+280,8
@@
module ApplicationHelper
links_for_object(itemuuid).each do |link|
if link.link_class.in? ["tag", "identifier"]
selectables.each do |selectable|
links_for_object(itemuuid).each do |link|
if link.link_class.in? ["tag", "identifier"]
selectables.each do |selectable|
- if selectable['uuid'] ==
tag
.head_uuid
- selectable['name'] += ' [' +
tag
.name + ']'
+ if selectable['uuid'] ==
link
.head_uuid
+ selectable['name'] += ' [' +
link
.name + ']'
end
end
end
end
end
end