Fix link.

This commit is contained in:
BoHung Chiu 2022-12-15 18:17:17 +08:00
parent 61a8f79ca4
commit 27f67c6bcc
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class Experience
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_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) url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank)
tmp_title = p.organizationt_title 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" elsif t == "duration"
if !p.send('start_date').nil? or !p.send('end_date').nil? 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 "" start_date = ((p.send('start_date').blank?) ? "" : p.send('start_date').strftime('%Y.%m')) rescue ""