Skip to content

Commit bfe5750

Browse files
committed
builds, accomodate for retired
1 parent d63335c commit bfe5750

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

builds.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<html>
3+
34
<head>
45
<meta charset="utf-8">
56
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
@@ -215,23 +216,28 @@
215216
}
216217

217218
prevrow = i
219+
if (el.Retired) {
220+
var niceVersion = el.Version + ' (Retired)'
221+
} else {
222+
var niceVersion = el.Version
223+
}
218224
results.push(
219-
[i, el.Version, prevName, prevSP, prevCU, prevSupportedUntil, is_SP, is_CU, '.', '.', nKBList]
225+
[i, niceVersion, prevName, prevSP, prevCU, prevSupportedUntil, is_SP, is_CU, '.', '.', nKBList]
220226
)
221227
})
222228
var datareverse = _.reverse(results.slice())
223229
var spdata = _.filter(datareverse, function (o) { return o[6] === 'X' })
224230
var lastrel = ''
225231
_.forEach(spdata, function (el, i) {
226-
if (el[2] != lastrel) {
232+
if (el[2] != lastrel && el[1].indexOf('Retired') != -1) {
227233
results[el[0]][8] = 'X'
228234
lastrel = el[2]
229235
}
230236
})
231237
var cudata = _.filter(datareverse, function (o) { return o[7] === 'X' })
232238
var lastrel = ''
233239
_.forEach(cudata, function (el, i) {
234-
if (el[2] + el[3] != lastrel) {
240+
if (el[2] + el[3] != lastrel && el[1].indexOf('Retired') != -1) {
235241
results[el[0]][9] = 'X'
236242
lastrel = el[2] + el[3]
237243
}

0 commit comments

Comments
 (0)