knitkit 2.0.7 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/knitkit/extensions/railties/action_view/helpers/content_helper.rb +1 -1
- data/lib/knitkit/extensions/railties/action_view/helpers/knitkit_helper.rb +1 -1
- data/lib/knitkit/version.rb +1 -1
- data/public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js +2 -2
- data/public/javascripts/erp_app/desktop/applications/knitkit/file_assets_panel.js +2 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/image_assets_panel.js +2 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/section_articles_grid_panel.js +2 -2
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/document.js +2 -2
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/section.js +2 -2
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/west_region.js +1 -1
- metadata +2 -2
@@ -32,7 +32,7 @@ module Knitkit
|
|
32
32
|
else
|
33
33
|
raw "<div class='knitkit_content'
|
34
34
|
contentid='#{content.id}'
|
35
|
-
lastupdate='#{content_version.
|
35
|
+
lastupdate='#{content_version.updated_at.strftime("%m/%d/%Y %I:%M%p")}'>
|
36
36
|
#{(content_version.body_html.nil? ? '' : content_version.body_html)}</div>"
|
37
37
|
end
|
38
38
|
end
|
@@ -43,7 +43,7 @@ module Knitkit
|
|
43
43
|
links = menu_item.self_and_ancestors.map{|child| {:url => child.path, :title => child.title}}
|
44
44
|
elsif options[:section_unique_name]
|
45
45
|
section = WebsiteSection.find_by_internal_identifier(options[:section_unique_name])
|
46
|
-
raise "Website Section with that
|
46
|
+
raise "Website Section with that Internal ID does not exist" if section.nil?
|
47
47
|
links = section.self_and_ancestors.map{|child| {:url => child.path, :title => child.title}}
|
48
48
|
else
|
49
49
|
links = @website_section.self_and_ancestors.collect{|child| {:url => child.path, :title => child.title}}
|
data/lib/knitkit/version.rb
CHANGED
@@ -78,7 +78,7 @@ Ext.define("Compass.ErpApp.Desktop.Applications.Knitkit.ArticlesGridPanel",{
|
|
78
78
|
},
|
79
79
|
{
|
80
80
|
xtype:'textfield',
|
81
|
-
fieldLabel:'
|
81
|
+
fieldLabel:'Internal ID',
|
82
82
|
allowBlank:true,
|
83
83
|
name:'internal_identifier',
|
84
84
|
value: record.data.internal_identifier
|
@@ -393,7 +393,7 @@ var columnItems = [];
|
|
393
393
|
},
|
394
394
|
{
|
395
395
|
xtype:'textfield',
|
396
|
-
fieldLabel:'
|
396
|
+
fieldLabel:'Internal ID',
|
397
397
|
allowBlank:true,
|
398
398
|
name:'internal_identifier'
|
399
399
|
},
|
@@ -45,6 +45,7 @@ Compass.ErpApp.Desktop.Applications.Knitkit.FileAssetsPanel = function(module) {
|
|
45
45
|
rootText:'Shared Files',
|
46
46
|
allowDownload:false,
|
47
47
|
addViewContentsToContextMenu:false,
|
48
|
+
showNewFileMenuItem:false,
|
48
49
|
rootVisible:true,
|
49
50
|
multiSelect:true,
|
50
51
|
controllerPath:'/knitkit/erp_app/desktop/file_assets/shared',
|
@@ -159,6 +160,7 @@ Compass.ErpApp.Desktop.Applications.Knitkit.FileAssetsPanel = function(module) {
|
|
159
160
|
title:'Website',
|
160
161
|
allowDownload:false,
|
161
162
|
addViewContentsToContextMenu:false,
|
163
|
+
showNewFileMenuItem:false,
|
162
164
|
rootVisible:true,
|
163
165
|
multiSelect:true,
|
164
166
|
controllerPath:'/knitkit/erp_app/desktop/file_assets/website',
|
@@ -16,6 +16,7 @@ Compass.ErpApp.Desktop.Applications.Knitkit.ImageAssetsPanel = function(module)
|
|
16
16
|
collapsible:false,
|
17
17
|
allowDownload:false,
|
18
18
|
addViewContentsToContextMenu:false,
|
19
|
+
showNewFileMenuItem:false,
|
19
20
|
rootVisible:true,
|
20
21
|
multiSelect:true,
|
21
22
|
controllerPath:'/knitkit/erp_app/desktop/image_assets/shared',
|
@@ -99,6 +100,7 @@ Compass.ErpApp.Desktop.Applications.Knitkit.ImageAssetsPanel = function(module)
|
|
99
100
|
collapsible:false,
|
100
101
|
allowDownload:false,
|
101
102
|
addViewContentsToContextMenu:false,
|
103
|
+
showNewFileMenuItem:false,
|
102
104
|
rootVisible:true,
|
103
105
|
multiSelect:true,
|
104
106
|
controllerPath:'/knitkit/erp_app/desktop/image_assets/website',
|
@@ -117,7 +117,7 @@ Ext.define("Compass.ErpApp.Desktop.Applications.Knitkit.SectionArticlesGridPanel
|
|
117
117
|
},
|
118
118
|
{
|
119
119
|
xtype:'textfield',
|
120
|
-
fieldLabel:'
|
120
|
+
fieldLabel:'Internal ID',
|
121
121
|
allowBlank:true,
|
122
122
|
name:'internal_identifier',
|
123
123
|
value: record.data.internal_identifier
|
@@ -342,7 +342,7 @@ Ext.define("Compass.ErpApp.Desktop.Applications.Knitkit.SectionArticlesGridPanel
|
|
342
342
|
},
|
343
343
|
{
|
344
344
|
xtype:'textfield',
|
345
|
-
fieldLabel:'
|
345
|
+
fieldLabel:'Internal ID',
|
346
346
|
allowBlank:true,
|
347
347
|
name:'internal_identifier'
|
348
348
|
}
|
data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/document.js
CHANGED
@@ -31,7 +31,7 @@ Compass.ErpApp.Desktop.Applications.Knitkit.addDocumentOptions = function (self,
|
|
31
31
|
},
|
32
32
|
{
|
33
33
|
xtype:'textfield',
|
34
|
-
fieldLabel:'
|
34
|
+
fieldLabel:'Internal ID',
|
35
35
|
allowBlank:true,
|
36
36
|
name:'internal_identifier'
|
37
37
|
},
|
@@ -172,7 +172,7 @@ Compass.ErpApp.Desktop.Applications.Knitkit.addDocumentOptions = function (self,
|
|
172
172
|
},
|
173
173
|
{
|
174
174
|
xtype:'textfield',
|
175
|
-
fieldLabel:'
|
175
|
+
fieldLabel:'Internal ID',
|
176
176
|
allowBlank:true,
|
177
177
|
name:'internal_identifier',
|
178
178
|
value:record.data.internal_identifier
|
@@ -74,7 +74,7 @@ Compass.ErpApp.Desktop.Applications.Knitkit.addSectionOptions = function (self,
|
|
74
74
|
},
|
75
75
|
{
|
76
76
|
xtype:'textfield',
|
77
|
-
fieldLabel:'
|
77
|
+
fieldLabel:'Internal ID',
|
78
78
|
allowBlank:true,
|
79
79
|
name:'internal_identifier'
|
80
80
|
},
|
@@ -223,7 +223,7 @@ Compass.ErpApp.Desktop.Applications.Knitkit.addSectionOptions = function (self,
|
|
223
223
|
},
|
224
224
|
{
|
225
225
|
xtype:'textfield',
|
226
|
-
fieldLabel:'
|
226
|
+
fieldLabel:'Internal ID',
|
227
227
|
allowBlank:true,
|
228
228
|
name:'internal_identifier',
|
229
229
|
value:record.data.internal_identifier
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knitkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erp_forms
|