spree_dash 0.50.4 → 0.60.0.RC1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/admin/overview/index.html.erb +6 -6
- metadata +27 -19
@@ -141,7 +141,7 @@
|
|
141
141
|
<p style="clear:both;"> </p>
|
142
142
|
<% else %>
|
143
143
|
<%= hook :admin_dashboard_welcome do %>
|
144
|
-
|
144
|
+
<%== t('overview_welcome') %>
|
145
145
|
<% end %>
|
146
146
|
<% end %>
|
147
147
|
<% end %>
|
@@ -150,15 +150,15 @@
|
|
150
150
|
<%= hook :admin_dashboard_javascript do %>
|
151
151
|
<% if @show_dashboard %>
|
152
152
|
<script type="text/javascript">
|
153
|
-
|
154
|
-
var best_selling_variants_points = [
|
155
|
-
var top_grossing_variants_points = [
|
156
|
-
var best_selling_taxons_points = [
|
153
|
+
var orders_by_day_points = [[<%== @orders_by_day.map { |day| "[\"#{day[0]}\",#{day[1]}]" }.join(",") %>]];
|
154
|
+
var best_selling_variants_points = [<%== @best_selling_variants.map { |v| "[\"#{h(v[0])}\",#{v[1]}]" }.join(",") %>];
|
155
|
+
var top_grossing_variants_points = [<%== @top_grossing_variants.map { |v| "[\"#{h(v[0])}\",#{v[1]}]" }.join(",") %>];
|
156
|
+
var best_selling_taxons_points = [<%== @best_selling_taxons.map { |t| "[\"#{h(t[0])}\",#{t[1]}]" }.join(",") %>];
|
157
157
|
|
158
158
|
var orders = "<%= t(:orders) %>";
|
159
159
|
var by_day = "<%= t(:by_day) %>";
|
160
160
|
|
161
|
-
var pie_colors = [
|
161
|
+
var pie_colors = [<%== @pie_colors.map{|c| "'#{c}'"}.join(",") %>];
|
162
162
|
</script>
|
163
163
|
|
164
164
|
<%= javascript_include_tag 'jqPlot/jquery.jqplot.min.js', 'jqPlot/plugins/jqplot.dateAxisRenderer.min.js', 'jqPlot/plugins/jqplot.highlighter.min.js',
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_dash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 11094359
|
5
|
+
prerelease: 7
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
|
8
|
+
- 60
|
9
|
+
- 0
|
10
|
+
- RC
|
11
|
+
- 1
|
12
|
+
version: 0.60.0.RC1
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- Brian Quinn
|
@@ -15,24 +17,27 @@ autorequire:
|
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2011-
|
20
|
+
date: 2011-05-03 00:00:00 -04:00
|
21
|
+
default_executable:
|
19
22
|
dependencies:
|
20
23
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
24
|
+
name: spree_core
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
22
27
|
none: false
|
23
28
|
requirements:
|
24
29
|
- - "="
|
25
30
|
- !ruby/object:Gem::Version
|
26
|
-
hash:
|
31
|
+
hash: 11094359
|
27
32
|
segments:
|
28
33
|
- 0
|
29
|
-
-
|
30
|
-
-
|
31
|
-
|
32
|
-
|
34
|
+
- 60
|
35
|
+
- 0
|
36
|
+
- RC
|
37
|
+
- 1
|
38
|
+
version: 0.60.0.RC1
|
33
39
|
type: :runtime
|
34
|
-
|
35
|
-
name: spree_core
|
40
|
+
version_requirements: *id001
|
36
41
|
description: Required dependancy for Spree
|
37
42
|
email: brian@railsdog.com
|
38
43
|
executables: []
|
@@ -60,6 +65,7 @@ files:
|
|
60
65
|
- public/javascripts/jqPlot/plugins/jqplot.highlighter.min.js
|
61
66
|
- public/javascripts/jqPlot/plugins/jqplot.pieRenderer.min.js
|
62
67
|
- public/stylesheets/admin/dashboard.css
|
68
|
+
has_rdoc: true
|
63
69
|
homepage: http://spreecommerce.com
|
64
70
|
licenses: []
|
65
71
|
|
@@ -82,16 +88,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
89
|
none: false
|
84
90
|
requirements:
|
85
|
-
- - "
|
91
|
+
- - ">"
|
86
92
|
- !ruby/object:Gem::Version
|
87
|
-
hash:
|
93
|
+
hash: 25
|
88
94
|
segments:
|
89
|
-
-
|
90
|
-
|
95
|
+
- 1
|
96
|
+
- 3
|
97
|
+
- 1
|
98
|
+
version: 1.3.1
|
91
99
|
requirements:
|
92
100
|
- none
|
93
101
|
rubyforge_project: spree_dash
|
94
|
-
rubygems_version: 1.
|
102
|
+
rubygems_version: 1.4.2
|
95
103
|
signing_key:
|
96
104
|
specification_version: 3
|
97
105
|
summary: Overview dashboard for use with Spree.
|