caboose-cms 0.9.50 → 0.9.51

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b66d685cda8b7b89c81696fbe357c0f34b68d30
4
- data.tar.gz: e1a94b1d2d95cbfb3e35dca236d097d0a04a595e
3
+ metadata.gz: b1600c8f19f1d8624bba085970e9ef7c93f9f8a8
4
+ data.tar.gz: 4c98629e0a1fb5ddb9ac3745137437684e760529
5
5
  SHA512:
6
- metadata.gz: 48432b4ffc4f47585d59107a6531dbdd29ff1364a2ecc1e0491e4420e635fffe14f081687efafb2dc09baeb3ce0bfb8c4483abe5ff2d3bf426346ee3471c9128
7
- data.tar.gz: 6a0a0701b259beeaae06d0849e395af081b3c0e0dda2d31052961b0e73caa3c18e36d0efcd54ce10a61997222f2674deede8c308ef04471202bfd49f98efb276
6
+ metadata.gz: ae32e22e71585da4b2edacd0d1f659bae192651fa543d03df1699ed4a399c8abd3ca1ec4ebb58202be0195ee6f6f02eb1d7dbe382ff71d01330d2ab713c5ca60
7
+ data.tar.gz: b1f80bc5c96a9d1fbb94d3b2ae544fa8c95eaf2d4aefd4f4af4b39e0f07565d69269def6c83ba0f4ea1e104bf79dce123fe453604ff109ad87d25ae194a9bd07
@@ -1,4 +1,9 @@
1
- <p><img src='<%= @invoice.site.logo.url(:thumb) %>' /></p>
1
+ <%
2
+ logo = @invoice.site.logo.url(:thumb)
3
+ logo = logo.gsub('//','https://') if !logo.nil?
4
+ %>
5
+
6
+ <p><img src='<%= logo %>' /></p>
2
7
 
3
8
  <h1>Thank you for your order!</h1>
4
9
 
@@ -6,7 +11,7 @@
6
11
 
7
12
  <p>Order #<%= @invoice.invoice_number %></p>
8
13
 
9
- <table binvoice='1' style='binvoice-collapse: collapse;'>
14
+ <table border='1' style='border-collapse: collapse;'>
10
15
  <tr>
11
16
  <th>Package</th>
12
17
  <th>Line Item</th>
@@ -1,4 +1,9 @@
1
- <p><img src='<%= @invoice.site.logo.url(:thumb) %>' /></p>
1
+ <%
2
+ logo = @invoice.site.logo.url(:thumb)
3
+ logo = logo.gsub('//','https://') if !logo.nil?
4
+ %>
5
+
6
+ <p><img src='<%= logo %>' /></p>
2
7
 
3
8
  <h1>Order <%= @invoice.invoice_number %> is ready for payment!</h1>
4
9
  <p>Please <a href='http://<%= raw @invoice.site.primary_domain.domain %>/my-account/invoices/<%= @invoice.id %>'>review your order</a> and submit payment.</p>
@@ -1,4 +1,9 @@
1
- <p><img src='<%= @invoice.site.logo.url(:thumb) %>' /></p>
1
+ <%
2
+ logo = @invoice.site.logo.url(:thumb)
3
+ logo = logo.gsub('//','https://') if !logo.nil?
4
+ %>
5
+
6
+ <p><img src='<%= logo %>' /></p>
2
7
 
3
8
  <h1>Receipt</h1>
4
9
 
@@ -1,4 +1,9 @@
1
- <p><img src='<%= @invoice.site.logo.url(:thumb) %>' /></p>
1
+ <%
2
+ logo = @invoice.site.logo.url(:thumb)
3
+ logo = logo.gsub('//','https://') if !logo.nil?
4
+ %>
5
+
6
+ <p><img src='<%= logo %>' /></p>
2
7
 
3
8
  <h1>Your invoice has been updated</h1>
4
9
 
@@ -1,4 +1,10 @@
1
- <p><img src='<%= @invoice.site.logo.url(:thumb) %>' /></p>
1
+ <%
2
+ logo = @invoice.site.logo.url(:thumb)
3
+ logo = logo.gsub('//','https://') if !logo.nil?
4
+
5
+ %>
6
+
7
+ <p><img src='<%= logo %>' /></p>
2
8
 
3
9
  <!-- <h1>Thank you for your invoice!</h1> -->
4
10
  <h1>New Order Received</h1>
@@ -28,7 +34,7 @@
28
34
  <% end %>
29
35
 
30
36
  <h2>Order Details</h2>
31
- <table binvoice='1' style='binvoice-collapse: collapse;'>
37
+ <table border='1' style='border-collapse: collapse;'>
32
38
  <tr>
33
39
  <th>Package</th>
34
40
  <th>Line Item</th>
@@ -5,7 +5,7 @@ domain = ms ? (ms.primary_domain ? ms.primary_domain.domain : 'www.caboosecms.co
5
5
  %>
6
6
  <h1>Social Media Config</h1>
7
7
 
8
- <p>Find your Facebook page ID <a href="http://findmyfacebookid.com/" target="_blank">here</a>.</p>
8
+ <p>Find your Facebook page ID <a href="http://findmyfbid.com" target="_blank">here</a>.</p>
9
9
  <p><div id="socialconfig_<%= sc.id %>_facebook_page_id" ></div></p>
10
10
  <p><div id="socialconfig_<%= sc.id %>_twitter_username" ></div></p>
11
11
  <p><div id="socialconfig_<%= sc.id %>_instagram_username" ></div>
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.50'
2
+ VERSION = '0.9.51'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.50
4
+ version: 0.9.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-16 00:00:00.000000000 Z
11
+ date: 2017-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg