forked from saurabh/personal-experience
Fix link.
This commit is contained in:
parent
61a8f79ca4
commit
27f67c6bcc
|
@ -78,7 +78,7 @@ class Experience
|
|||
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_experience')
|
||||
url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank)
|
||||
tmp_title = p.organizationt_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 == "duration"
|
||||
if !p.send('start_date').nil? or !p.send('end_date').nil?
|
||||
start_date = ((p.send('start_date').blank?) ? "" : p.send('start_date').strftime('%Y.%m')) rescue ""
|
||||
|
|
Loading…
Reference in New Issue