spree_custom_notifications 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -1
- data/spree_custom_notifications.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5c2744e5a2ae4e94afda271b68420e779c47959
|
4
|
+
data.tar.gz: b8149e69aa80ec0f20fae1a79898a3e815032bc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59840ea66649b1925f97c34267e683f8e1a0c8e9410813b902a6c1700d11457aa9aa141976c46baac1adbbdcf6aec4a4637422e4cbe9b342e1bc4d00747599c2
|
7
|
+
data.tar.gz: bc477ecc192061bd6e2c360bb462ba7fb113c7787d678c165264ea71beae11bdad4a5b7ba477b48110bd802c7cc4802b5d789a477aac43fa74afb549b7d807f5
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ This gem is used to display custom notifications on Spree Store's Home page.
|
|
7
7
|
|
8
8
|
Notification link is added in `Configuration Menu`.
|
9
9
|
|
10
|
-
Admin is able to
|
10
|
+
Admin is able to CRUD on Notification.
|
11
11
|
|
12
12
|
2. Spree Store -
|
13
13
|
|
@@ -50,6 +50,26 @@ Customization
|
|
50
50
|
You can customize the styling of notification by using spree
|
51
51
|
assets customization logic.
|
52
52
|
|
53
|
+
Example: If you want to change background-color of notifications:
|
54
|
+
|
55
|
+
Add in `app/assets/stylesheets/store/custom.css`
|
56
|
+
```css
|
57
|
+
#notification_div{
|
58
|
+
background-color: gray;
|
59
|
+
}
|
60
|
+
```
|
61
|
+
|
62
|
+
Then, require custom.css in your `app/assets/stylesheets/store/all.css`.
|
63
|
+
|
64
|
+
```css
|
65
|
+
/*
|
66
|
+
*= require store/spree_frontend
|
67
|
+
|
68
|
+
*= require store/spree_custom_notifications
|
69
|
+
*= require_self
|
70
|
+
*= require_tree .
|
71
|
+
*/
|
72
|
+
```
|
53
73
|
Refer -
|
54
74
|
[http://guides.spreecommerce.com/developer/asset.html](http://guides.spreecommerce.com/developer/asset.html)
|
55
75
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_custom_notifications'
|
5
|
-
s.version = '0.
|
5
|
+
s.version = '0.4'
|
6
6
|
s.summary = 'Spree Store Custom Notifications'
|
7
7
|
s.description = 'Display Custom notifications on Spree Store'
|
8
8
|
s.required_ruby_version = '>= 1.9.3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_custom_notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- prachidhabu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
requirements:
|
226
226
|
- none
|
227
227
|
rubyforge_project:
|
228
|
-
rubygems_version: 2.
|
228
|
+
rubygems_version: 2.0.3
|
229
229
|
signing_key:
|
230
230
|
specification_version: 4
|
231
231
|
summary: Spree Store Custom Notifications
|