diff --git a/deploy/app.js b/deploy/app.js index 3246724..4f27548 100644 --- a/deploy/app.js +++ b/deploy/app.js @@ -449,9 +449,9 @@ function markGroupDone(gi, time) { ' ✓ Готово (' + time + ')' + '' + '
' + - g.documents.map(function(d) { + g.documents.map(function(d, di) { var typeLabel = {contract: 'договор', supplement: 'допсоглашение', specification: 'спецификация'}[d.doc_type] || d.doc_type; - return '
' + + return '
' + '' + escHtml(typeLabel || '?') + ' ' + escHtml(d.filename) + (d.doc_date ? ' ' + escHtml(d.doc_date) + '' : '') +