Merge branch 'master' of git.curoverse.com:arvados into 5440-remove-doc-getting-started
[arvados.git] / apps / workbench / app / helpers / application_helper.rb
index d842e8273b050dbeadc1f8672e538739209c8fae..72f961f38a225e1e707fc8db92d1da77e5f7c7d7 100644 (file)
@@ -180,7 +180,7 @@ module ApplicationHelper
   def link_to_arvados_object_if_readable(attrvalue, link_text_if_not_readable, opts={})
     resource_class = resource_class_for_uuid(attrvalue)
     if !resource_class
-      return link_text_if_not_readable
+      return link_to_if_arvados_object attrvalue, opts
     end
 
     if resource_class.to_s == 'Collection'
@@ -294,7 +294,7 @@ module ApplicationHelper
     end
 
     if not object.andand.attribute_editable?(attr)
-      return link_to_arvados_object_if_readable(attrvalue, attrvalue, attrvalue, true)
+      return link_to_arvados_object_if_readable(attrvalue, attrvalue, friendly_name: true)
     end
 
     if dataclass