mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Properly support defaults for upload site settings.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Available options:
|
||||
#
|
||||
# default - The default value of the setting.
|
||||
# default - The default value of the setting. For upload site settings, use the id of the upload seeded in db/fixtures/010_uploads.rb.
|
||||
# client - Set to true if the javascript should have access to this setting's value.
|
||||
# refresh - Set to true if clients should refresh when the setting is changed.
|
||||
# min - For a string setting, the minimum length. For an integer setting, the minimum value.
|
||||
@@ -48,14 +48,14 @@ required:
|
||||
default: ""
|
||||
type: username
|
||||
logo:
|
||||
default: ""
|
||||
default: -1
|
||||
client: true
|
||||
type: upload
|
||||
logo_url:
|
||||
hidden: true
|
||||
default: "/images/d-logo-sketch.png"
|
||||
logo_small:
|
||||
default: ""
|
||||
default: -2
|
||||
client: true
|
||||
type: upload
|
||||
logo_small_url:
|
||||
@@ -83,14 +83,14 @@ required:
|
||||
hidden: true
|
||||
default: ""
|
||||
favicon:
|
||||
default: ""
|
||||
default: -3
|
||||
client: true
|
||||
type: upload
|
||||
favicon_url:
|
||||
hidden: true
|
||||
default: "/images/default-favicon.ico"
|
||||
apple_touch_icon:
|
||||
default: ""
|
||||
default: -4
|
||||
client: true
|
||||
type: upload
|
||||
apple_touch_icon_url:
|
||||
|
||||
Reference in New Issue
Block a user