forked from saurabh/personal-research
Update research.rb add title
This commit is contained in:
parent
fcad14c3d8
commit
cb715732e7
|
@ -74,7 +74,7 @@ class Research
|
|||
pd_data = []
|
||||
fields_to_show.collect do |t|
|
||||
if t == "research_title"
|
||||
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_research')}'>#{p.send(t)}" }
|
||||
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_research')}' title='#{p.send(t)}'>#{p.send(t)}" }
|
||||
elsif t == "research_category"
|
||||
pd_data << {"data_title" => (p.research_category.title rescue "")}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue