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 = []
|
pd_data = []
|
||||||
fields_to_show.collect do |t|
|
fields_to_show.collect do |t|
|
||||||
if t == "research_title"
|
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"
|
elsif t == "research_category"
|
||||||
pd_data << {"data_title" => (p.research_category.title rescue "")}
|
pd_data << {"data_title" => (p.research_category.title rescue "")}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue