X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ceb2ed3a4f6c68a1c95d92271ba77b5e3d8b6a58..33e6d3356af3f7eaa484dbaa7a671aa25f5042e4:/apps/workbench/app/helpers/application_helper.rb diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb index 11c55c3f77..a05e6ba268 100644 --- a/apps/workbench/app/helpers/application_helper.rb +++ b/apps/workbench/app/helpers/application_helper.rb @@ -133,7 +133,7 @@ module ApplicationHelper end end style_opts[:class] = (style_opts[:class] || '') + ' nowrap' - if opts[:no_link] + if opts[:no_link] or (resource_class == User && !current_user) raw(link_name) else (link_to raw(link_name), { controller: resource_class.to_s.tableize, action: 'show', id: ((opts[:name_link].andand.uuid) || link_uuid) }, style_opts) + raw(tags)