jsgantt-improved
Advanced tools
Comparing version 2.7.1 to 2.7.2
@@ -265,2 +265,14 @@ "use strict"; | ||
} | ||
// Render no daa in the chart | ||
if (this.vTaskList.length == 0) { | ||
var totalColumns = this.getColumnOrder() | ||
.filter(function (column) { return _this[column] == 1 || column === 'vAdditionalHeaders'; }) | ||
.length; | ||
var vTmpRow_2 = draw_utils_1.newNode(vTmpContentTBody, 'tr', this.vDivId + 'child_', 'gname '); | ||
// this.vTaskList[i].setListChildRow(vTmpRow); | ||
var vTmpCell_2 = draw_utils_1.newNode(vTmpRow_2, 'td', null, 'gtasknolist', '', null, null, null, totalColumns); | ||
var vOutput = document.createDocumentFragment(); | ||
draw_utils_1.newNode(vOutput, 'div', null, 'gtasknolist-label', this.vLangs[this.vLang]['nodata'] + '.'); | ||
vTmpCell_2.appendChild(vOutput); | ||
} | ||
// DRAW the date format selector at bottom left. | ||
@@ -686,6 +698,2 @@ var vTmpRow = draw_utils_1.newNode(vTmpContentTBody, 'tr'); | ||
} | ||
if (this.vTaskList.length === 0) { | ||
this.drawComplete(vMinDate, vColWidth, bd); | ||
return; | ||
} | ||
// Process all tasks, reset parent date and completion % if task list has altered | ||
@@ -692,0 +700,0 @@ if (this.vProcessNeeded) |
@@ -52,2 +52,3 @@ "use strict"; | ||
'moreinfo': 'Más Información', | ||
'nodata': 'No tasks found', | ||
'notes': 'Notas', | ||
@@ -110,2 +111,3 @@ 'format': 'Formato', | ||
'moreinfo': 'More Information', | ||
'nodata': 'No tasks found', | ||
'notes': 'Notes', | ||
@@ -185,2 +187,3 @@ 'january': 'January', | ||
'moreinfo': 'Weitere Infos', | ||
'nodata': 'No tasks found', | ||
'notes': 'Anmerkung', | ||
@@ -247,2 +250,3 @@ 'january': 'Jänner', | ||
'moreinfo': 'Mais informações', | ||
'nodata': 'Sem atividades', | ||
'notes': 'Notas', | ||
@@ -337,2 +341,3 @@ 'res': 'Responsável', | ||
'moreinfo': 'Детали', | ||
'nodata': 'No tasks found', | ||
'notes': 'Заметки', | ||
@@ -363,5 +368,7 @@ 'format': 'Формат', | ||
exports.ru = ru; | ||
/** | ||
* Mois : http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=3619 | ||
Jours : http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=3617 | ||
*/ | ||
var fr = { | ||
// Mois : http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=3619 | ||
// Jours : http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=3617 | ||
'january': 'Janvier', | ||
@@ -415,2 +422,3 @@ 'february': 'Février', | ||
'moreinfo': "Plus d'informations", | ||
'nodata': 'No tasks found', | ||
'notes': 'Notes', | ||
@@ -489,2 +497,3 @@ 'format': 'Format', | ||
'moreinfo': "更多資訊", | ||
'nodata': 'No tasks found', | ||
'notes': '備註', | ||
@@ -546,2 +555,3 @@ 'format': '格式', | ||
'moreinfo': 'Mer Information', | ||
'nodata': 'No tasks found', | ||
'notes': 'Notes', | ||
@@ -620,2 +630,3 @@ 'january': 'januari', | ||
'moreinfo': 'Meer informatie', | ||
'nodata': 'No tasks found', | ||
'notes': 'Notities', | ||
@@ -694,2 +705,3 @@ 'january': 'januari', | ||
'moreinfo': 'Informasi Lebih Lanjut', | ||
'nodata': 'No tasks found', | ||
'notes': 'Catatan', | ||
@@ -768,2 +780,3 @@ 'january': 'Januari', | ||
'moreinfo': 'Daha Fazla Bilgi', | ||
'nodata': 'No tasks found', | ||
'notes': 'Notlar', | ||
@@ -842,2 +855,3 @@ 'january': 'Ocak', | ||
'moreinfo': '詳細', | ||
'nodata': 'No tasks found', | ||
'notes': 'ノート', | ||
@@ -917,2 +931,3 @@ 'january': '1月', | ||
'moreinfo': 'Více informací', | ||
'nodata': 'No tasks found', | ||
'notes': 'Poznámky', | ||
@@ -992,2 +1007,3 @@ 'january': 'Leden', | ||
'moreinfo': 'További információ', | ||
'nodata': 'No tasks found', | ||
'notes': 'Jegyzetek', | ||
@@ -1067,2 +1083,3 @@ 'january': 'Január', | ||
'moreinfo': '더 많은 정보', | ||
'nodata': 'No tasks found', | ||
'notes': '비고', | ||
@@ -1069,0 +1086,0 @@ 'january': '1월', |
{ | ||
"name": "jsgantt-improved", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"description": "jsgantt-improved", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4811632
113228