fix journal show
This commit is contained in:
parent
d5388791be
commit
ee4a42477a
|
@ -204,9 +204,9 @@ class JournalPaper
|
|||
end
|
||||
value = value.join(" / ")
|
||||
when "publication_date"
|
||||
value = self.publication_date.to_date.strftime("%Y-%m-%d") rescue ""
|
||||
value = self.publication_date.strftime("%Y-%m-%d") rescue ""
|
||||
when "language"
|
||||
value = I18n.t(self.language) rescue ""
|
||||
value = I18n.t(self.language) if !self.language.nil? rescue ""
|
||||
when "abstract"
|
||||
value = nl2br(self.abstract)
|
||||
when "file"
|
||||
|
|
Loading…
Reference in New Issue