Compare commits
No commits in common. "1dad2acf27b52aa5d4c0e8a31718b6a066bb9a05" and "556858858f9b06341a62d3b63cd24f0b0b23a2b1" have entirely different histories.
1dad2acf27
...
556858858f
|
@ -66,10 +66,7 @@ class Writing
|
|||
pd_data = []
|
||||
fields_to_show.collect do |t|
|
||||
if t == "writing_title"
|
||||
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_writing')
|
||||
url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank)
|
||||
tmp_title = p.writing_title
|
||||
pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "<a title=\"#{tmp_title}\" href=\"#{link}\" target=\"_blank\">#{tmp_title}</a>") }
|
||||
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_writing')}' title='#{p.send(t)}' target='_blank'>#{p.send(t)}" }
|
||||
else
|
||||
pd_data << { "data_title" => p.send(t) }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue