reference url now clickable

This commit is contained in:
Harry Bomrah 2017-12-18 16:21:45 +08:00
parent 701a2cca79
commit 7c05f6f741
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ class WritingConference
pd_data << {"data_title" => (p.conference_author_types.collect{|cat| cat.title}.join(", ") rescue "")}
when "period"
pd_data << {"data_title" => p.duration}
when "url"
pd_data << { "data_title" => "<a href='#{p.url}' target='_blank'>#{p.url}</a>" }
else
pd_data << { "data_title" => p.send(t) }
end