forked from saurabh/personal-project
Fix link.
This commit is contained in:
parent
fcb1ab6e8d
commit
b9357fc8a3
|
@ -91,7 +91,7 @@ class Project
|
||||||
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_project')
|
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_project')
|
||||||
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.project_title
|
tmp_title = p.project_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>") }
|
||||||
elsif t == "period"
|
elsif t == "period"
|
||||||
date = p.duration
|
date = p.duration
|
||||||
pd_data << { "data_title" => date }
|
pd_data << { "data_title" => date }
|
||||||
|
|
Loading…
Reference in New Issue