Update lab.rb Add title
This commit is contained in:
parent
f3354ec72a
commit
adb2310745
|
@ -71,7 +71,7 @@ class Lab
|
||||||
pd_data = []
|
pd_data = []
|
||||||
fields_to_show.collect do |t|
|
fields_to_show.collect do |t|
|
||||||
if t == "lab_title"
|
if t == "lab_title"
|
||||||
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_lab')}' target='_blank'>#{p.send(t)}" }
|
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_lab')}' title='#{p.send(t)}' target='_blank'>#{p.send(t)}" }
|
||||||
else
|
else
|
||||||
pd_data << { "data_title" => p.send(t) }
|
pd_data << { "data_title" => p.send(t) }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue