forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
b697111931
commit
c09617e2da
|
@ -89,9 +89,6 @@ class PersonalJournalsController < ApplicationController
|
||||||
choice_value.unshift("paper_title")
|
choice_value.unshift("paper_title")
|
||||||
choice_default = OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——"
|
choice_default = OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——"
|
||||||
choice_show.unshift(choice_default)
|
choice_show.unshift(choice_default)
|
||||||
journal_papers_count = journal_papers1.count
|
|
||||||
journal_papers_temp = journal_papers1.take(journal_papers_count)
|
|
||||||
journal_papers_show = journal_papers_temp.select {|value| value["paper_title"][OrbitHelper.params[:locale]].include? "1"}
|
|
||||||
select_text = params[:locale]!='en' ? "搜尋類別:" : "search class:"
|
select_text = params[:locale]!='en' ? "搜尋類別:" : "search class:"
|
||||||
search_text = params[:locale]!='en' ? "關鍵字搜尋:" : "word to search:"
|
search_text = params[:locale]!='en' ? "關鍵字搜尋:" : "word to search:"
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue