Update book.rb add title
This commit is contained in:
parent
978cd286f1
commit
1cfd6c3f29
|
@ -107,7 +107,7 @@ class Book
|
||||||
if !page.nil? && page.custom_string_field == "table"
|
if !page.nil? && page.custom_string_field == "table"
|
||||||
case t
|
case t
|
||||||
when "book_title", "extracted_chapters"
|
when "book_title", "extracted_chapters"
|
||||||
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_book')}' target='_blank'>#{p.send(t)}</a>" }
|
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_book')}' title='#{p.send(t)}' target='_blank'>#{p.send(t)}</a>" }
|
||||||
when "publish_date", "publication_date"
|
when "publish_date", "publication_date"
|
||||||
pd = ""
|
pd = ""
|
||||||
if !p.publication_date.nil?
|
if !p.publication_date.nil?
|
||||||
|
|
Loading…
Reference in New Issue