Update journal_paper.rb Add paper title
This commit is contained in:
parent
b5f29798d6
commit
d6a581ffe0
|
@ -119,7 +119,7 @@ class JournalPaper
|
||||||
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_journal')}' target='_blank'>#{p.paper_title}</a>" }
|
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_journal')}' title='#{p.paper_title}' target='_blank'>#{p.paper_title}</a>" }
|
||||||
when "level_type"
|
when "level_type"
|
||||||
pd_data << {"data_title" => ( !p.journal_levels.blank? ? "(#{p.journal_levels.collect{|x| x.title}.join(', ')})" : nil)}
|
pd_data << {"data_title" => ( !p.journal_levels.blank? ? "(#{p.journal_levels.collect{|x| x.title}.join(', ')})" : nil)}
|
||||||
when "publication_date"
|
when "publication_date"
|
||||||
|
|
Loading…
Reference in New Issue