mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #5259 from luchiago/add-extra-social-media-to-emails
Add extra social media to order confirmation email
This commit is contained in:
@@ -138,6 +138,10 @@ a {
|
||||
&.ms {
|
||||
background-color: #000 !important;
|
||||
}
|
||||
|
||||
&.ig {
|
||||
background-color: #fb3958 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar .soc-btn {
|
||||
|
||||
@@ -57,8 +57,8 @@ class ContentConfiguration < Spree::Preferences::FileConfiguration
|
||||
# Other
|
||||
preference :footer_facebook_url, :string, default: "https://www.facebook.com/OpenFoodNet"
|
||||
preference :footer_twitter_url, :string, default: "https://twitter.com/OpenFoodNet"
|
||||
preference :footer_instagram_url, :string, default: ""
|
||||
preference :footer_linkedin_url, :string, default: "http://www.linkedin.com/groups/Open-Food-Foundation-4743336"
|
||||
preference :footer_instagram_url, :string, default: "https://www.instagram.com/openfoodnetworkuk/"
|
||||
preference :footer_linkedin_url, :string, default: "https://www.linkedin.com/company/openfoodnetwork/"
|
||||
preference :footer_googleplus_url, :string, default: ""
|
||||
preference :footer_pinterest_url, :string, default: ""
|
||||
preference :footer_email, :string, default: "hello@openfoodnetwork.org"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
%a.soc-btn.li{href: ContentConfig.footer_linkedin_url}
|
||||
LinkedIn
|
||||
-if ContentConfig.footer_instagram_url.present?
|
||||
%a.soc-btn.tw{href: ContentConfig.footer_instagram_url}
|
||||
%a.soc-btn.ig{href: ContentConfig.footer_instagram_url}
|
||||
Instagram
|
||||
%table.column{:align => "left"}
|
||||
%tr
|
||||
|
||||
@@ -25,3 +25,4 @@
|
||||
= render 'shipping'
|
||||
= render 'special_instructions'
|
||||
= render 'signoff'
|
||||
= render 'shared/mailers/social_and_contact'
|
||||
|
||||
Reference in New Issue
Block a user