spree_special_offers 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,10 @@
1
- <% content_for :head do %>
2
- <%= stylesheet_link_tag 'special_offers.css' %>
3
- <% end %>
4
- <p class="prices">
5
- <%= t("old_price") %>
6
- <br />
7
- <%= product_old_price @product %>
8
- </p>
1
+ <% if @product.old_price > 0 %>
2
+ <% content_for :head do %>
3
+ <%= stylesheet_link_tag 'special_offers.css' %>
4
+ <% end %>
5
+ <p class="prices">
6
+ <%= t("old_price") %>
7
+ <br />
8
+ <%= product_old_price @product %>
9
+ </p>
10
+ <% end %>
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_special_offers
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
- authors: []
13
-
12
+ authors:
13
+ - Dominik Masur
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-24 00:00:00 +01:00
18
+ date: 2011-01-25 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -35,7 +35,7 @@ dependencies:
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  description:
38
- email:
38
+ email: dominik.masur@googlemail.com
39
39
  executables: []
40
40
 
41
41
  extensions: []
@@ -88,6 +88,6 @@ rubyforge_project:
88
88
  rubygems_version: 1.4.2
89
89
  signing_key:
90
90
  specification_version: 3
91
- summary: Add gem summary here
91
+ summary: Adds old prices to variants
92
92
  test_files: []
93
93