-
-
Notifications
You must be signed in to change notification settings - Fork 725
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New domain Web (rails engine) with the following features extracted f…
…rom the main app: - cookies banner - cookies policy page - cookies policy and privacy policy links in the footer
- Loading branch information
1 parent
e0d1301
commit 27c941e
Showing
39 changed files
with
997 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require 'web/cookies_consent' | ||
|
||
module FooterLinksHelper | ||
def cookies_policy_link | ||
link_to( t( '.footer_data_cookies_policy' ), '', 'cookies-policy-modal' => true, 'cookies-banner' => !Web::CookiesConsent.new(cookies, request.host).exists? && Spree::Config.cookies_consent_banner_toggle) | ||
end | ||
|
||
def privacy_policy_link | ||
link_to( t( '.footer_data_privacy_policy' ), Spree::Config.privacy_policy_url, target: '_blank' ) | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.bundle/ | ||
log/*.log | ||
pkg/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
source "https://rubygems.org" | ||
|
||
# Declare your gem's dependencies in web.gemspec. | ||
# Bundler will treat runtime dependencies like base dependencies, and | ||
# development dependencies will be added by default to the :development group. | ||
gemspec | ||
|
||
# Declare any dependencies that are still in development here instead of in | ||
# your gemspec. These might include edge Rails or gems from your path or | ||
# Git. Remember to move these dependencies to your gemspec before releasing | ||
# your gem to rubygems.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
web (0.0.1) | ||
rails (~> 3.2.22.5) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actionmailer (3.2.22.5) | ||
actionpack (= 3.2.22.5) | ||
mail (~> 2.5.4) | ||
actionpack (3.2.22.5) | ||
activemodel (= 3.2.22.5) | ||
activesupport (= 3.2.22.5) | ||
builder (~> 3.0.0) | ||
erubis (~> 2.7.0) | ||
journey (~> 1.0.4) | ||
rack (~> 1.4.5) | ||
rack-cache (~> 1.2) | ||
rack-test (~> 0.6.1) | ||
sprockets (~> 2.2.1) | ||
activemodel (3.2.22.5) | ||
activesupport (= 3.2.22.5) | ||
builder (~> 3.0.0) | ||
activerecord (3.2.22.5) | ||
activemodel (= 3.2.22.5) | ||
activesupport (= 3.2.22.5) | ||
arel (~> 3.0.2) | ||
tzinfo (~> 0.3.29) | ||
activeresource (3.2.22.5) | ||
activemodel (= 3.2.22.5) | ||
activesupport (= 3.2.22.5) | ||
activesupport (3.2.22.5) | ||
i18n (~> 0.6, >= 0.6.4) | ||
multi_json (~> 1.0) | ||
arel (3.0.3) | ||
builder (3.0.4) | ||
concurrent-ruby (1.0.5) | ||
erubis (2.7.0) | ||
hike (1.2.3) | ||
i18n (0.9.5) | ||
concurrent-ruby (~> 1.0) | ||
journey (1.0.4) | ||
jquery-rails (3.1.5) | ||
railties (>= 3.0, < 5.0) | ||
thor (>= 0.14, < 2.0) | ||
json (1.8.6) | ||
mail (2.5.5) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
mime-types (1.25.1) | ||
multi_json (1.13.1) | ||
polyglot (0.3.5) | ||
rack (1.4.7) | ||
rack-cache (1.8.0) | ||
rack (>= 0.4) | ||
rack-ssl (1.3.4) | ||
rack | ||
rack-test (0.6.3) | ||
rack (>= 1.0) | ||
rails (3.2.22.5) | ||
actionmailer (= 3.2.22.5) | ||
actionpack (= 3.2.22.5) | ||
activerecord (= 3.2.22.5) | ||
activeresource (= 3.2.22.5) | ||
activesupport (= 3.2.22.5) | ||
bundler (~> 1.0) | ||
railties (= 3.2.22.5) | ||
railties (3.2.22.5) | ||
actionpack (= 3.2.22.5) | ||
activesupport (= 3.2.22.5) | ||
rack-ssl (~> 1.3.2) | ||
rake (>= 0.8.7) | ||
rdoc (~> 3.4) | ||
thor (>= 0.14.6, < 2.0) | ||
rake (12.3.1) | ||
rdoc (3.12.2) | ||
json (~> 1.4) | ||
sprockets (2.2.3) | ||
hike (~> 1.2) | ||
multi_json (~> 1.0) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sqlite3 (1.3.13) | ||
thor (0.20.0) | ||
tilt (1.4.1) | ||
treetop (1.4.15) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.54) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
jquery-rails | ||
sqlite3 | ||
web! | ||
|
||
BUNDLED WITH | ||
1.16.2 |
Oops, something went wrong.