reference url now clickable
This commit is contained in:
parent
701a2cca79
commit
7c05f6f741
|
@ -134,6 +134,8 @@ class WritingConference
|
||||||
pd_data << {"data_title" => (p.conference_author_types.collect{|cat| cat.title}.join(", ") rescue "")}
|
pd_data << {"data_title" => (p.conference_author_types.collect{|cat| cat.title}.join(", ") rescue "")}
|
||||||
when "period"
|
when "period"
|
||||||
pd_data << {"data_title" => p.duration}
|
pd_data << {"data_title" => p.duration}
|
||||||
|
when "url"
|
||||||
|
pd_data << { "data_title" => "<a href='#{p.url}' target='_blank'>#{p.url}</a>" }
|
||||||
else
|
else
|
||||||
pd_data << { "data_title" => p.send(t) }
|
pd_data << { "data_title" => p.send(t) }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue