mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
more fields needed flagging as HTML fields
This commit is contained in:
@@ -11,7 +11,7 @@ class SiteCustomization < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def self.html_fields
|
||||
%w(body_tag head_tag)
|
||||
%w(body_tag head_tag header mobile_header footer mobile_footer)
|
||||
end
|
||||
|
||||
before_create do
|
||||
@@ -220,6 +220,7 @@ end
|
||||
# name :string(255) not null
|
||||
# stylesheet :text
|
||||
# header :text
|
||||
# header_baked :text
|
||||
# user_id :integer not null
|
||||
# enabled :boolean not null
|
||||
# key :string(255) not null
|
||||
@@ -227,10 +228,13 @@ end
|
||||
# updated_at :datetime not null
|
||||
# stylesheet_baked :text default(""), not null
|
||||
# mobile_stylesheet :text
|
||||
# mobile_header :text
|
||||
# mobile_stylesheet_baked :text
|
||||
# footer :text
|
||||
# footer_baked :text
|
||||
# mobile_header :text
|
||||
# mobile_footer :text
|
||||
# mobile_header_baked :text
|
||||
# mobile_footer_baked :text
|
||||
# head_tag :text
|
||||
# body_tag :text
|
||||
# head_tag_baked :text
|
||||
|
||||
Reference in New Issue
Block a user