X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4e0ddde525c5568dfb5e09e8530be484b6ea5995..6c76e5ce6520a465ff741e4510eafc757738e9ba:/apps/workbench/app/views/application/_selection_checkbox.html.erb diff --git a/apps/workbench/app/views/application/_selection_checkbox.html.erb b/apps/workbench/app/views/application/_selection_checkbox.html.erb index 4d47d892c5..732c343d26 100644 --- a/apps/workbench/app/views/application/_selection_checkbox.html.erb +++ b/apps/workbench/app/views/application/_selection_checkbox.html.erb @@ -1,8 +1,10 @@ <%if object %> <%= check_box_tag 'uuids[]', object.uuid, false, { - :class => 'persistent-selection', - :friendly_type => object.class.name, - :friendly_name => object.selection_label, - :href => "#{url_for controller: object.class.name.tableize, action: 'show', id: object.uuid }" + :class => 'persistent-selection', + :friendly_type => object.class.name, + :friendly_name => (if defined? friendly_name then friendly_name + else link_to_if_arvados_object object, {:no_link => true} end), + :href => "#{url_for controller: object.class.name.tableize, action: 'show', id: object.uuid }", + :title => "Click to add this item to your selection list" } %> <% end %>