Update journal_paper.rb
This commit is contained in:
parent
bca9b359d4
commit
a96d5d0d06
|
@ -217,6 +217,8 @@ class JournalPaper
|
||||||
value = files.join("")
|
value = files.join("")
|
||||||
when "url"
|
when "url"
|
||||||
value = self.url.to_s.blank? ? "" : "<a href='#{self.url}'>#{self.url}</a>"
|
value = self.url.to_s.blank? ? "" : "<a href='#{self.url}'>#{self.url}</a>"
|
||||||
|
when "authors"
|
||||||
|
value = get_authors_show(self)
|
||||||
else
|
else
|
||||||
value = self.send(field) rescue ""
|
value = self.send(field) rescue ""
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue