kete_gets_trollied 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/kete_gets_trollied/orders_helper_overrides.rb +10 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -52,6 +52,10 @@ module OrdersHelperOverrides
|
|
52
52
|
:action => 'index' }
|
53
53
|
end
|
54
54
|
|
55
|
+
# override this if you want to tie-in to meta_data_for's headline
|
56
|
+
def meta_data_headline_extentions_for(order)
|
57
|
+
end
|
58
|
+
|
55
59
|
def meta_data_for(order)
|
56
60
|
html = '<div id="order-meta-data">'
|
57
61
|
html += '<h3 id="order-id">' + t('orders.helpers.order_number') + " #{order.id}"
|
@@ -62,7 +66,12 @@ module OrdersHelperOverrides
|
|
62
66
|
else
|
63
67
|
html += link_basket_orders(order.basket)
|
64
68
|
end
|
65
|
-
html += ')
|
69
|
+
html += ')'
|
70
|
+
|
71
|
+
html += meta_data_headline_extentions_for(order)
|
72
|
+
|
73
|
+
html += '</h3>'
|
74
|
+
|
66
75
|
if !order.current? && !(order.contact_name.blank? && order.contact_phone.blank?)
|
67
76
|
html += '<h4 id="order-info">'
|
68
77
|
html += order.contact_name + ' - ' if order.contact_name
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kete_gets_trollied
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Walter McGinnis
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-07-
|
18
|
+
date: 2012-07-23 00:00:00 +12:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|