projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2872: Fix up pipeline instance table, show "resume" button if paused.
[arvados.git]
/
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 762ff7c3e800afaaa375a817bca9172ae5bf3ea3..8d81e08119f1a4dddb265567c4e31f80fef5df15 100644
(file)
--- a/
apps/workbench/app/views/application/_show_object_button.html.erb
+++ b/
apps/workbench/app/views/application/_show_object_button.html.erb
@@
-1,7
+1,9
@@
<% htmloptions = {class: ''}.merge(htmloptions || {})
<% htmloptions = {class: ''}.merge(htmloptions || {})
- htmloptions[:class] += " btn-#{size}" rescue nil %>
+ htmloptions[:class] += " btn-#{size}" rescue nil
+ link_text = 'Show' unless defined?(link_text)
+ %>
<%= link_to_if_arvados_object object, {
<%= link_to_if_arvados_object object, {
- link_text: raw('<i class="fa fa-fw ' + fa_icon_class_for_object(object) + '"></i>
Show'
),
+ link_text: raw('<i class="fa fa-fw ' + fa_icon_class_for_object(object) + '"></i>
' + link_text
),
name_link: (defined?(name_link) && name_link && name_link.uuid) ? name_link : nil
}, {
data: {
name_link: (defined?(name_link) && name_link && name_link.uuid) ? name_link : nil
}, {
data: {