X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ade9fc709137c19429ac93eed00550ce8335373e..f16be1736d705278ae39bde3fc6d6d9d1f302fa7:/apps/workbench/app/views/application/_show_object_button.html.erb diff --git a/apps/workbench/app/views/application/_show_object_button.html.erb b/apps/workbench/app/views/application/_show_object_button.html.erb index 8d81e08119..03a5325b6d 100644 --- a/apps/workbench/app/views/application/_show_object_button.html.erb +++ b/apps/workbench/app/views/application/_show_object_button.html.erb @@ -1,6 +1,6 @@ <% htmloptions = {class: ''}.merge(htmloptions || {}) htmloptions[:class] += " btn-#{size}" rescue nil - link_text = 'Show' unless defined?(link_text) + link_text = 'Show' unless defined?(link_text) and link_text %> <%= link_to_if_arvados_object object, { link_text: raw(' ' + link_text),