diff --git a/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb b/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb index 042923902..186b2d594 100644 --- a/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb +++ b/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalBook::Desktop::PersonalBooksHelper def link_publication_file publication publication.writing_book_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_conference/app/helpers/panel/personal_conference/desktop/conference_pages_helper.rb b/vendor/built_in_modules/personal_conference/app/helpers/panel/personal_conference/desktop/conference_pages_helper.rb index 3a2fd2cce..d22bfc18f 100644 --- a/vendor/built_in_modules/personal_conference/app/helpers/panel/personal_conference/desktop/conference_pages_helper.rb +++ b/vendor/built_in_modules/personal_conference/app/helpers/panel/personal_conference/desktop/conference_pages_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalConference::Desktop::ConferencePagesHelper def link_publication_file publication publication.writing_conference_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_diploma/app/helpers/panel/personal_diploma/desktop/personal_diplomas_helper.rb b/vendor/built_in_modules/personal_diploma/app/helpers/panel/personal_diploma/desktop/personal_diplomas_helper.rb index 031b07c2e..6ca260616 100644 --- a/vendor/built_in_modules/personal_diploma/app/helpers/panel/personal_diploma/desktop/personal_diplomas_helper.rb +++ b/vendor/built_in_modules/personal_diploma/app/helpers/panel/personal_diploma/desktop/personal_diplomas_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalDiploma::Desktop::PersonalDiplomasHelper def link_publication_file publication publication.writing_conference_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_experience/app/helpers/panel/personal_experience/desktop/personal_experiences_helper.rb b/vendor/built_in_modules/personal_experience/app/helpers/panel/personal_experience/desktop/personal_experiences_helper.rb index eda87783a..f78c6948f 100644 --- a/vendor/built_in_modules/personal_experience/app/helpers/panel/personal_experience/desktop/personal_experiences_helper.rb +++ b/vendor/built_in_modules/personal_experience/app/helpers/panel/personal_experience/desktop/personal_experiences_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalExperience::Desktop::PersonalExperiencesHelper def link_publication_file publication publication.writing_conference_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_honor/app/helpers/panel/personal_honor/desktop/personal_honors_helper.rb b/vendor/built_in_modules/personal_honor/app/helpers/panel/personal_honor/desktop/personal_honors_helper.rb index c1172f6de..3cdccddc7 100644 --- a/vendor/built_in_modules/personal_honor/app/helpers/panel/personal_honor/desktop/personal_honors_helper.rb +++ b/vendor/built_in_modules/personal_honor/app/helpers/panel/personal_honor/desktop/personal_honors_helper.rb @@ -58,11 +58,11 @@ module Panel::PersonalHonor::Desktop::PersonalHonorsHelper def link_publication_file publication publication.writing_book_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb b/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb index 28ee25981..63310a5c9 100644 --- a/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb +++ b/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb @@ -66,11 +66,11 @@ module Panel::PersonalJournal::Desktop::JournalPagesHelper def link_publication_file publication publication.writing_journal_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_lab/app/helpers/panel/personal_lab/desktop/personal_labs_helper.rb b/vendor/built_in_modules/personal_lab/app/helpers/panel/personal_lab/desktop/personal_labs_helper.rb index 80511a3d3..087d4bcdb 100644 --- a/vendor/built_in_modules/personal_lab/app/helpers/panel/personal_lab/desktop/personal_labs_helper.rb +++ b/vendor/built_in_modules/personal_lab/app/helpers/panel/personal_lab/desktop/personal_labs_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalLab::Desktop::PersonalLabsHelper def link_publication_file publication publication.lab_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_patent/app/helpers/panel/personal_patent/desktop/personal_patents_helper.rb b/vendor/built_in_modules/personal_patent/app/helpers/panel/personal_patent/desktop/personal_patents_helper.rb index ed2141d0d..024b8d648 100644 --- a/vendor/built_in_modules/personal_patent/app/helpers/panel/personal_patent/desktop/personal_patents_helper.rb +++ b/vendor/built_in_modules/personal_patent/app/helpers/panel/personal_patent/desktop/personal_patents_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalPatent::Desktop::PersonalPatentsHelper def link_publication_file publication publication.writing_patent_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_project/app/helpers/panel/personal_project/desktop/personal_projects_helper.rb b/vendor/built_in_modules/personal_project/app/helpers/panel/personal_project/desktop/personal_projects_helper.rb index dd5f45adf..1b47e9f54 100644 --- a/vendor/built_in_modules/personal_project/app/helpers/panel/personal_project/desktop/personal_projects_helper.rb +++ b/vendor/built_in_modules/personal_project/app/helpers/panel/personal_project/desktop/personal_projects_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalProject::Desktop::PersonalProjectsHelper def link_publication_file publication publication.project_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end diff --git a/vendor/built_in_modules/personal_research/app/helpers/panel/personal_research/desktop/personal_researchs_helper.rb b/vendor/built_in_modules/personal_research/app/helpers/panel/personal_research/desktop/personal_researchs_helper.rb index ffc2d64c1..4327faa66 100644 --- a/vendor/built_in_modules/personal_research/app/helpers/panel/personal_research/desktop/personal_researchs_helper.rb +++ b/vendor/built_in_modules/personal_research/app/helpers/panel/personal_research/desktop/personal_researchs_helper.rb @@ -65,11 +65,11 @@ module Panel::PersonalResearch::Desktop::PersonalResearchsHelper def link_publication_file publication publication.research_files.map{|file| link_to(image_tag(check_file_type(file.file.url)) + \ - content_tag(:span, file.file_title_translations[I18n.locale.to_s], :class => "filetitle"), + content_tag(:span, file.title_translations[I18n.locale.to_s], :class => "filetitle"), file.file.url, :class => "file", "target" => "_blank", - "title" => file.file_title_translations[I18n.locale.to_s]) + "title" => file.title_translations[I18n.locale.to_s]) }.inject(:+) end