spree_dash 1.0.0.rc3 → 1.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,12 +3,11 @@
3
3
  <script type="text/javascript" src="https://api.jirafe.com/dashboard/js/spree_ui.js"></script>
4
4
  <% end %>
5
5
 
6
- <h1><%= t(:overview) %></h1>
7
-
8
6
  <% if params[:dash_edit] %>
9
7
  <%= render 'form' %>
10
8
  <% else %>
11
9
  <% if Spree::Dash::Config.configured? %>
10
+ <h1><%= t(:overview) %></h1>
12
11
  <div id="jirafe"></div>
13
12
  <script type="text/javascript" defer="defer">
14
13
  if (typeof jQuery != 'undefined') {
@@ -28,10 +27,17 @@
28
27
  }, 10000);
29
28
  </script>
30
29
  <% else %>
31
- <%= image_tag 'analytics_dashboard_preview.png' %>
30
+ <div class="analytics_splash">
31
+ <%= image_tag 'analytics_dashboard_preview.png', :alt => 'Spree Analytics' %>
32
+ </div>
32
33
  <% end %>
33
34
  <br>
34
- <%= link_to t(:enter_token), admin_path(:dash_edit => true) %>
35
+ <div class="preview-buttons">
36
+ <%= link_to t(:enter_token), admin_path(:dash_edit => true), :class => "button green" %>
37
+ <%= t(:or) %> &nbsp;
38
+ <%= link_to t(:learn_more), "http://spreecommerce.com/blog/2012/01/31/introducing-spree-analytics/", :class => "button", :target => "_blank" %>
39
+ </div>
40
+
35
41
  <% end %>
36
42
 
37
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_dash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc3
4
+ version: 1.0.0.rc4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,19 +9,19 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-31 00:00:00.000000000 Z
12
+ date: 2012-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
16
- requirement: &70193021130140 !ruby/object:Gem::Requirement
16
+ requirement: &70238700327400 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
20
20
  - !ruby/object:Gem::Version
21
- version: 1.0.0.rc3
21
+ version: 1.0.0.rc4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70193021130140
24
+ version_requirements: *70238700327400
25
25
  description: Required dependency for Spree
26
26
  email: brian@spreecommerce.com
27
27
  executables: []