17503: Merge branch 'master' into 17503-fix-deduplication-report-paper-cuts
[arvados.git] / apps / workbench / app / views / application / _show_object_button.html.erb
index 8d81e08119f1a4dddb265567c4e31f80fef5df15..3acfdaafac2d33da326c0d318d265cdffe11f864 100644 (file)
@@ -1,6 +1,10 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <% 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('<i class="fa fa-fw ' + fa_icon_class_for_object(object) + '"></i> ' + link_text),