Merge branch 'master' into 'master'

Add extra body class.

See merge request spen/seminar!35
This commit is contained in:
chiu 2022-03-24 03:48:58 +00:00
commit 6b975641bc
1 changed files with 3 additions and 1 deletions

View File

@ -215,7 +215,9 @@ class SeminarsController < ApplicationController
end end
custom_datapp_data["300"] = [custom_banner] custom_datapp_data["300"] = [custom_banner]
end end
return {"main_content"=>main_content, return {
"extra_body_class" => "seminar_custom_page background_style_#{background_style} content_style_#{content_style}",
"main_content"=>main_content,
"extra_css"=>extra_css, "extra_css"=>extra_css,
"extra_js"=>extra_js, "extra_js"=>extra_js,
"header_data" => header_data, "header_data" => header_data,