caboose-cms 0.9.101 → 0.9.102
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/caboose/products/_admin_header.html.erb +4 -1
- data/app/views/caboose/products/admin_alternate_ids.html.erb +3 -3
- data/app/views/caboose/products/admin_edit_categories.html.erb +4 -4
- data/app/views/caboose/products/admin_edit_description.html.erb +5 -6
- data/app/views/caboose/products/admin_edit_general.html.erb +3 -3
- data/app/views/caboose/products/admin_edit_images.html.erb +4 -4
- data/app/views/caboose/products/admin_edit_options.html.erb +4 -4
- data/app/views/caboose/products/admin_index.html.erb +6 -3
- data/app/views/caboose/variants/admin_edit.html.erb +6 -5
- data/app/views/caboose/variants/admin_index.html.erb +4 -4
- data/lib/caboose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef5b831397616ceab55b63831af8c97df6a08e32
|
4
|
+
data.tar.gz: 1f0bd288510663667254c086db2faeb1bc6c6a9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dabbd1344c89276247799819b61802f1c1944e8410a6826ac185d1b436dc357b5849049c804965954807e3ba414690c01ee9ccb839548ea35ed19ea755cf1ad0
|
7
|
+
data.tar.gz: 00f95351e87719665f34eae87024474c99fc681c75b017d1065005bc8c6de23833f3f1bc0f4682e7fa68b084e7be4543bbd6e0c908086697b628b6a8cfb38db7
|
@@ -13,7 +13,10 @@
|
|
13
13
|
<%= javascript_include_tag "caboose/admin_products" %>
|
14
14
|
<% end %>
|
15
15
|
|
16
|
-
<
|
16
|
+
<ul id='crumbtrail'>
|
17
|
+
<li><a href="/admin"><span>Admin</span></a></li>
|
18
|
+
<li><a href="/admin/products"><span>Products</span></a></li>
|
19
|
+
</ul>
|
17
20
|
<h1 id="product-title">Edit Product - <%= @product.title %></h1>
|
18
21
|
<ul id='tabs'>
|
19
22
|
<%
|
@@ -37,9 +37,9 @@
|
|
37
37
|
$(document).ready(function() {
|
38
38
|
var that = this;
|
39
39
|
|
40
|
-
add_to_crumbtrail('/admin', 'Admin');
|
41
|
-
add_to_crumbtrail('/admin/products', 'Products');
|
42
|
-
add_to_crumbtrail('/admin/products/alternate-ids', 'Alternate IDs');
|
40
|
+
// add_to_crumbtrail('/admin', 'Admin');
|
41
|
+
// add_to_crumbtrail('/admin/products', 'Products');
|
42
|
+
// add_to_crumbtrail('/admin/products/alternate-ids', 'Alternate IDs');
|
43
43
|
|
44
44
|
<% @rows.each do |row| %>
|
45
45
|
new ModelBinder({
|
@@ -20,10 +20,10 @@ label span.prefix { display: inline-block; margin: 0 8px; }
|
|
20
20
|
var mb = false;
|
21
21
|
$(document).ready(function() {
|
22
22
|
|
23
|
-
add_to_crumbtrail('/admin', 'Admin');
|
24
|
-
add_to_crumbtrail('/admin/products', 'Products');
|
25
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
26
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>/categories', 'Categories');
|
23
|
+
// add_to_crumbtrail('/admin', 'Admin');
|
24
|
+
// add_to_crumbtrail('/admin/products', 'Products');
|
25
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
26
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>/categories', 'Categories');
|
27
27
|
|
28
28
|
mb = new ModelBinder({
|
29
29
|
name: 'Product',
|
@@ -13,10 +13,10 @@ p = @product
|
|
13
13
|
|
14
14
|
$(document).ready(function() {
|
15
15
|
|
16
|
-
add_to_crumbtrail('/admin', 'Admin');
|
17
|
-
add_to_crumbtrail('/admin/products', 'Products');
|
18
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
19
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>/description', 'Description');
|
16
|
+
// add_to_crumbtrail('/admin', 'Admin');
|
17
|
+
// add_to_crumbtrail('/admin/products', 'Products');
|
18
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
19
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>/description', 'Description');
|
20
20
|
|
21
21
|
m = new ModelBinder({
|
22
22
|
name: 'Product',
|
@@ -39,6 +39,5 @@ $(window).load(function() {
|
|
39
39
|
});
|
40
40
|
|
41
41
|
</script>
|
42
|
-
|
43
|
-
<%= tinymce :caboose, :width => '575px', :height => '240px' %>
|
42
|
+
<%= raw caboose_tinymce %>
|
44
43
|
<% end %>
|
@@ -27,9 +27,9 @@ date_available = p.date_available ? p.date_available.strftime('%F') : ''
|
|
27
27
|
%>
|
28
28
|
$(document).ready(function() {
|
29
29
|
|
30
|
-
add_to_crumbtrail('/admin', 'Admin');
|
31
|
-
add_to_crumbtrail('/admin/products', 'Products');
|
32
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
30
|
+
// add_to_crumbtrail('/admin', 'Admin');
|
31
|
+
// add_to_crumbtrail('/admin/products', 'Products');
|
32
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
33
33
|
|
34
34
|
m = new ModelBinder({
|
35
35
|
name: 'Product',
|
@@ -56,10 +56,10 @@ p = @product
|
|
56
56
|
var controller = false;
|
57
57
|
$(document).ready(function() {
|
58
58
|
|
59
|
-
add_to_crumbtrail('/admin', 'Admin');
|
60
|
-
add_to_crumbtrail('/admin/products', 'Products');
|
61
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
62
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>/images', 'Images');
|
59
|
+
// add_to_crumbtrail('/admin', 'Admin');
|
60
|
+
// add_to_crumbtrail('/admin/products', 'Products');
|
61
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
62
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>/images', 'Images');
|
63
63
|
|
64
64
|
controller = new MediaController({
|
65
65
|
top_cat_id: <%= raw Caboose.json(@media_category ? @top_media_category.id : false) %>,
|
@@ -42,10 +42,10 @@ may_delete3 = p.variants.collect{|v| v.option3 }.uniq.count == 1
|
|
42
42
|
var mods_controller = false;
|
43
43
|
$(document).ready(function() {
|
44
44
|
|
45
|
-
add_to_crumbtrail('/admin', 'Admin');
|
46
|
-
add_to_crumbtrail('/admin/products', 'Products');
|
47
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
48
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>/options', 'Options');
|
45
|
+
// add_to_crumbtrail('/admin', 'Admin');
|
46
|
+
// add_to_crumbtrail('/admin/products', 'Products');
|
47
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
48
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>/options', 'Options');
|
49
49
|
|
50
50
|
m = new ModelBinder({
|
51
51
|
name: 'Product',
|
@@ -1,4 +1,7 @@
|
|
1
|
-
<
|
1
|
+
<ul id='crumbtrail'>
|
2
|
+
<li><a href="/admin"><span>Admin</span></a></li>
|
3
|
+
<li><a href="/admin/products"><span>Products</span></a></li>
|
4
|
+
</ul>
|
2
5
|
<h1>Products</h1>
|
3
6
|
|
4
7
|
<p style="margin: 12px 0">
|
@@ -36,8 +39,8 @@ function tiny_product_image(p) {
|
|
36
39
|
$(document).ready(function() {
|
37
40
|
var that = this;
|
38
41
|
|
39
|
-
add_to_crumbtrail('/admin', 'Admin');
|
40
|
-
add_to_crumbtrail('/admin/products', 'Products');
|
42
|
+
// add_to_crumbtrail('/admin', 'Admin');
|
43
|
+
// add_to_crumbtrail('/admin/products', 'Products');
|
41
44
|
|
42
45
|
var table = new IndexTable({
|
43
46
|
form_authenticity_token: '<%= form_authenticity_token %>',
|
@@ -92,11 +92,12 @@ vl = Caboose::VariantLimit.where(:user_id => elo.id, :variant_id => v.id).first
|
|
92
92
|
var vcc = false;
|
93
93
|
$(document).ready(function() {
|
94
94
|
|
95
|
-
add_to_crumbtrail('/admin', 'Admin');
|
96
|
-
add_to_crumbtrail('/admin/products', 'Products');
|
97
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
98
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>/variants', 'Inventory & Variants');
|
99
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>/variants/<%= v.id %>', <%= raw Caboose.json(v.options.count > 0 ? v.options.join(', ') : 'Default Variant') %>);
|
95
|
+
// add_to_crumbtrail('/admin', 'Admin');
|
96
|
+
// add_to_crumbtrail('/admin/products', 'Products');
|
97
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
98
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>/variants', 'Inventory & Variants');
|
99
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>/variants/<%= v.id %>', <%= raw Caboose.json(v.options.count > 0 ? v.options.join(', ') : 'Default Variant') %>);
|
100
|
+
|
100
101
|
|
101
102
|
m = new ModelBinder({
|
102
103
|
name: 'Variant',
|
@@ -58,10 +58,10 @@ sc = @site.store_config
|
|
58
58
|
$(document).ready(function() {
|
59
59
|
var that = this;
|
60
60
|
|
61
|
-
add_to_crumbtrail('/admin', 'Admin');
|
62
|
-
add_to_crumbtrail('/admin/products', 'Products');
|
63
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
64
|
-
add_to_crumbtrail('/admin/products/<%= p.id %>/variants', 'Inventory & Variants');
|
61
|
+
// add_to_crumbtrail('/admin', 'Admin');
|
62
|
+
// add_to_crumbtrail('/admin/products', 'Products');
|
63
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>', <%= raw Caboose.json(p.title) %>);
|
64
|
+
// add_to_crumbtrail('/admin/products/<%= p.id %>/variants', 'Inventory & Variants');
|
65
65
|
|
66
66
|
var table = new IndexTable({
|
67
67
|
form_authenticity_token: '<%= form_authenticity_token %>',
|
data/lib/caboose/version.rb
CHANGED
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.
|
4
|
+
version: 0.9.102
|
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-12-
|
11
|
+
date: 2017-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|