Update experience.rb add title

This commit is contained in:
wmcheng 2018-12-04 22:59:02 +08:00
parent 7fbfed8bf4
commit 742c122eac
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class Experience
pd_data = [] pd_data = []
fields_to_show.collect do |t| fields_to_show.collect do |t|
if t == "organizationt_title" if t == "organizationt_title"
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_experience')}' target='_blank'>#{p.send(t)}" } pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_experience')}' title='#{p.send(t)}' target='_blank'>#{p.send(t)}" }
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?