Update writing_conference.rb Add paper title
This commit is contained in:
parent
ae03f63136
commit
5c0c0ecfde
|
@ -125,7 +125,7 @@ class WritingConference
|
||||||
if !page.nil? && page.custom_string_field == "table"
|
if !page.nil? && page.custom_string_field == "table"
|
||||||
case t
|
case t
|
||||||
when "paper_title"
|
when "paper_title"
|
||||||
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_conference')}' target='_blank'>#{p.paper_title}</a>" }
|
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_conference')}' title='#{p.paper_title}' target='_blank'>#{p.paper_title}</a>" }
|
||||||
when "paper_types"
|
when "paper_types"
|
||||||
pd_data << {"data_title" => ( !p.conference_paper_types.blank? ? p.conference_paper_types.collect{|x| x.title}.join(', ') : "")}
|
pd_data << {"data_title" => ( !p.conference_paper_types.blank? ? p.conference_paper_types.collect{|x| x.title}.join(', ') : "")}
|
||||||
when "paper_levels"
|
when "paper_levels"
|
||||||
|
|
Loading…
Reference in New Issue