knitkit 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.content.updated_at.strftime("%m/%d/%Y %I:%M%p")}'>
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 unique name does not exist" if section.nil?
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}}
@@ -2,7 +2,7 @@ module Knitkit
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
- TINY = 7
5
+ TINY = 9
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
@@ -78,7 +78,7 @@ Ext.define("Compass.ErpApp.Desktop.Applications.Knitkit.ArticlesGridPanel",{
78
78
  },
79
79
  {
80
80
  xtype:'textfield',
81
- fieldLabel:'Unique Name',
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:'Unique Name',
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:'Unique Name',
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:'Unique Name',
345
+ fieldLabel:'Internal ID',
346
346
  allowBlank:true,
347
347
  name:'internal_identifier'
348
348
  }
@@ -31,7 +31,7 @@ Compass.ErpApp.Desktop.Applications.Knitkit.addDocumentOptions = function (self,
31
31
  },
32
32
  {
33
33
  xtype:'textfield',
34
- fieldLabel:'Unique Name',
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:'Unique Name',
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:'Unique Name',
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:'Unique Name',
226
+ fieldLabel:'Internal ID',
227
227
  allowBlank:true,
228
228
  name:'internal_identifier',
229
229
  value:record.data.internal_identifier
@@ -643,7 +643,7 @@ Ext.define("Compass.ErpApp.Desktop.Applications.Knitkit.WestRegion", {
643
643
  },
644
644
  {
645
645
  xtype:'textfield',
646
- fieldLabel:'Unique Name',
646
+ fieldLabel:'Internal ID',
647
647
  allowBlank:true,
648
648
  name:'internal_identifier'
649
649
  },
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.7
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-09-26 00:00:00.000000000 Z
12
+ date: 2012-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erp_forms