Update personal_journals_controller.rb
This commit is contained in:
parent
1ec3f6ad64
commit
2957170d63
|
@ -53,15 +53,15 @@ class PersonalJournalsController < ApplicationController
|
||||||
"col" => col
|
"col" => col
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
choice_value = fields_to_show
|
||||||
|
choice_show = headers
|
||||||
{
|
{
|
||||||
"journal_papers" => journal_paper_list,
|
"journal_papers" => journal_paper_list,
|
||||||
"headers" => headers,
|
"headers" => headers,
|
||||||
"extras" => {"widget-title" => t("module_name.journal_paper")},
|
"extras" => {"widget-title" => t("module_name.journal_paper")},
|
||||||
"total_pages" => journal_papers.total_pages,
|
"total_pages" => journal_papers.total_pages,
|
||||||
"all_choice" => fields_to_show,
|
"choice" => {"choice_value" => choice_value.prepend "paper_title","choice_show" => choice_show.prepend {"head-title"=>OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——"}}
|
||||||
"123" => journal_papers,
|
"url" => OrbitHelper.params[:locale]+OrbitHelper.params[:url],
|
||||||
"default_choice" => "paper_title"
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue