Update personal_journals_controller.rb
This commit is contained in:
parent
78f7eafcff
commit
5155427305
|
@ -76,7 +76,7 @@ class PersonalJournalsController < ApplicationController
|
|||
when 'language'
|
||||
t << { 'value' => (!journal_paper.language.nil? ? t(journal_paper.language.to_s) : '') }
|
||||
when 'url'
|
||||
t << { 'value' => ("<a href='#{journal_paper.url}'>#{journal_paper.url}</a>" rescue '')}
|
||||
t << { 'value' => journal_paper.url.to_s.blank? ? "" : "<a href='#{journal_paper.url}'>#{journal_paper.url}</a>"}
|
||||
when 'authors'
|
||||
t << { 'value' => get_authors_show(journal_paper) }
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue