caboose-cms 0.5.160 → 0.5.161
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTQ1MTU0YjcyN2E4MjYwOGUwYzgzZDNmMTc5NmMxYWViYzNlZmIyZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTk0Y2NjZmE1M2NkYzgyNTYwM2Y2NzNjMjE0MWE2Y2M0MDkwZWUwNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWJlMGU1OGY4YTE3ODcxZWY5MmRiOWVkMTJlNzdhMTI5OTJkZmNmNTEyZjU3
|
10
|
+
MGJkZjUzZjRlMWE2MjdkYTQ5NTU0OWNmMjk3ZTdhNGQzZTNlNTI0YmMwMmM0
|
11
|
+
ZDZmYWY1NzI5MGY1ZDAxMzU0YWMwMDE3ZGRhMWE5ZWM2MjI0YzM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjYzYWQ1MmZlMjU4NGEzNDExMTc4ZDJiNGYyZGY4MzA5NzE3OTk0YzYzNGZi
|
14
|
+
NzJjODAxNWUzYWNlYzkwZGIwNTk2YzA4ZDI5NTdkMWM2MmFkYTkyNmY0Y2Iy
|
15
|
+
ZmMyNjQ2NTMxY2M1ZmZlYTkyMGIzZWYxNmI3NTQzYjg2MzNiMDI=
|
@@ -35,9 +35,6 @@
|
|
35
35
|
<li><% if li.include_gift_message %>Gift message: <%= li.gift_message %><% else %>No gift message<% end %></li>
|
36
36
|
<li><% if li.hide_prices %>Hide all prices<% else %>Show all prices<% end %></li>
|
37
37
|
</ul>
|
38
|
-
<% end %>
|
39
|
-
<% if li.variant.downloadable %>
|
40
|
-
<p><a href='<%= @order.site.store_config.pp_relay_domain %>/my-account/orders/<%= @order.id %>/line-items/<%= li.id %>/download' target="_blank">Download</a></li>
|
41
38
|
<% end %>
|
42
39
|
</td>
|
43
40
|
<td align='right'><%= number_to_currency(li.unit_price) %></td>
|
@@ -51,8 +48,25 @@
|
|
51
48
|
<% v = li.variant %>
|
52
49
|
<% p = v.product %>
|
53
50
|
<tr>
|
54
|
-
<td>
|
55
|
-
|
51
|
+
<td>
|
52
|
+
<% if v.downloadable %>
|
53
|
+
<p>This item is downloadable.</p>
|
54
|
+
<p><a href='<%= @order.site.store_config.pp_relay_domain %>/my-account/orders/<%= @order.id %>/line-items/<%= li.id %>/download' target="_blank">Download</a></li>
|
55
|
+
<% else %>
|
56
|
+
Not assigned to a package
|
57
|
+
<% end %>
|
58
|
+
</td>
|
59
|
+
<td>
|
60
|
+
<p><%= p.title %></td></p>
|
61
|
+
<% if li.is_gift %>
|
62
|
+
<p>This item is a gift.</p>
|
63
|
+
<ul>
|
64
|
+
<li><% if li.gift_wrap %>Gift wrap (<%= number_to_currency(p.gift_wrap_price) %>)<% else %>Do not gift wrap<% end %></li>
|
65
|
+
<li><% if li.include_gift_message %>Gift message: <%= li.gift_message %><% else %>No gift message<% end %></li>
|
66
|
+
<li><% if li.hide_prices %>Hide all prices<% else %>Show all prices<% end %></li>
|
67
|
+
</ul>
|
68
|
+
<% end %>
|
69
|
+
</td>
|
56
70
|
<td align='right'><%= number_to_currency(li.unit_price) %></td>
|
57
71
|
<td align='right'><%= li.quantity %></td>
|
58
72
|
<td align='right'><%= number_to_currency(li.subtotal) %></td>
|
data/lib/caboose/version.rb
CHANGED