mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add dimensions to image upload
This commit is contained in:
@@ -11,8 +11,8 @@ class ContentConfiguration < Spree::Preferences::FileConfiguration
|
||||
has_attached_file :logo_mobile_svg
|
||||
|
||||
# Home page
|
||||
preference :home_show_stats, :boolean, default: true
|
||||
preference :home_hero, :file
|
||||
preference :home_show_stats, :boolean, default: true
|
||||
has_attached_file :home_hero
|
||||
|
||||
# Producer sign-up page
|
||||
|
||||
@@ -20,6 +20,10 @@ en:
|
||||
producers_join: Australian producers are now welcome to join the Open Food Network.
|
||||
charges_sales_tax: Charges GST?
|
||||
|
||||
logo: "Logo (640x130)"
|
||||
logo_mobile: "Mobile logo (75x26)"
|
||||
logo_mobile_svg: "Mobile logo (SVG)"
|
||||
home_hero: "Hero image"
|
||||
home_show_stats: "Show statistics"
|
||||
footer_facebook_url: "Facebook URL"
|
||||
footer_twitter_url: "Twitter URL"
|
||||
|
||||
Reference in New Issue
Block a user