forked from saurabh/personal-lab
Fix link.
This commit is contained in:
parent
33c6ef5e0c
commit
91de6a93fb
|
@ -75,7 +75,7 @@ class Lab
|
||||||
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_lab')
|
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_lab')
|
||||||
url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank)
|
url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank)
|
||||||
tmp_title = p.lab_title
|
tmp_title = p.lab_title
|
||||||
pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "<a title=\"#{tmp_title}\" href=\"#{link}\" target=\"_blank\">#{tmp_title}") }
|
pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "<a title=\"#{tmp_title}\" href=\"#{link}\" target=\"_blank\">#{tmp_title}</a>") }
|
||||||
else
|
else
|
||||||
pd_data << { "data_title" => p.send(t) }
|
pd_data << { "data_title" => p.send(t) }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue