From 7d288b4160298915b47e541e41d1ecbfe2aed3c3 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 5 Aug 2013 19:03:24 +0800 Subject: [PATCH] some changes in file selection --- .../panel/personal_book/desktop/personal_books_helper.rb | 6 +++--- .../personal_book/desktop/personal_books/index.html.erb | 5 ++--- .../personal_diploma/desktop/personal_diplomas_helper.rb | 8 ++++---- .../desktop/personal_diplomas/index.html.erb | 6 ++---- .../desktop/personal_experiences/index.html.erb | 9 ++++----- .../personal_honor/desktop/personal_honors_helper.rb | 4 +++- .../desktop/personal_honors/index.html.erb | 5 +---- 7 files changed, 19 insertions(+), 24 deletions(-) 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 5823dc3a..6ccf4faa 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 @@ -25,14 +25,14 @@ module Panel::PersonalBook::Desktop::PersonalBooksHelper def content publication, view case view - when "conference_title" + when "book_title" des = content_tag(:div, publication.book_title, :class => "list_t_des") when "keywords" des = content_tag(:div, publication.keywords, :class => "list_t_des") - when "abstract" - des = content_tag(:div, publication.abstract, + when "publisher" + des = content_tag(:div, publication.publisher, :class => "list_t_des") when "file" des = content_tag(:div, link_publication_file(publication), diff --git a/vendor/built_in_modules/personal_book/app/views/panel/personal_book/desktop/personal_books/index.html.erb b/vendor/built_in_modules/personal_book/app/views/panel/personal_book/desktop/personal_books/index.html.erb index acadcd98..c60e3743 100644 --- a/vendor/built_in_modules/personal_book/app/views/panel/personal_book/desktop/personal_books/index.html.erb +++ b/vendor/built_in_modules/personal_book/app/views/panel/personal_book/desktop/personal_books/index.html.erb @@ -41,11 +41,10 @@
View
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 1a8455d8..da5f24a9 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 @@ -25,14 +25,14 @@ module Panel::PersonalDiploma::Desktop::PersonalDiplomasHelper def content publication, view case view - when "diploma_title" - des = content_tag(:div, publication.diploma_title, + when "school_name" + des = content_tag(:div, publication.school_name, :class => "list_t_des") when "keywords" des = content_tag(:div, publication.keywords, :class => "list_t_des") - when "abstract" - des = content_tag(:div, publication.abstract, + when "department" + des = content_tag(:div, publication.department, :class => "list_t_des") when "file" des = content_tag(:div, link_publication_file(publication), diff --git a/vendor/built_in_modules/personal_diploma/app/views/panel/personal_diploma/desktop/personal_diplomas/index.html.erb b/vendor/built_in_modules/personal_diploma/app/views/panel/personal_diploma/desktop/personal_diplomas/index.html.erb index 9e06d342..676d0140 100644 --- a/vendor/built_in_modules/personal_diploma/app/views/panel/personal_diploma/desktop/personal_diplomas/index.html.erb +++ b/vendor/built_in_modules/personal_diploma/app/views/panel/personal_diploma/desktop/personal_diplomas/index.html.erb @@ -41,11 +41,9 @@
View
diff --git a/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/desktop/personal_experiences/index.html.erb b/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/desktop/personal_experiences/index.html.erb index b7c351f5..21caee33 100644 --- a/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/desktop/personal_experiences/index.html.erb +++ b/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/desktop/personal_experiences/index.html.erb @@ -41,11 +41,10 @@
View
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 380ba171..1114d7aa 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 @@ -28,7 +28,9 @@ module Panel::PersonalHonor::Desktop::PersonalHonorsHelper when "award_name" des = content_tag(:div, publication.award_name, :class => "list_t_des") - + when "keywords" + des = content_tag(:div, publication.keywords, + :class => "list_t_des") end content_tag(:div, publication.award_name, diff --git a/vendor/built_in_modules/personal_honor/app/views/panel/personal_honor/desktop/personal_honors/index.html.erb b/vendor/built_in_modules/personal_honor/app/views/panel/personal_honor/desktop/personal_honors/index.html.erb index 990302ab..924e82ab 100644 --- a/vendor/built_in_modules/personal_honor/app/views/panel/personal_honor/desktop/personal_honors/index.html.erb +++ b/vendor/built_in_modules/personal_honor/app/views/panel/personal_honor/desktop/personal_honors/index.html.erb @@ -41,11 +41,8 @@
View