Update book.rb add title

This commit is contained in:
wmcheng 2018-12-04 22:57:50 +08:00
parent 978cd286f1
commit 1cfd6c3f29
1 changed files with 1 additions and 1 deletions

View File

@ -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?