Check-in [04632195d8]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:HTML: Use 0 for skipped in failure/ignored if nothing was skipped
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 04632195d825fd38772b890775c69205b3797982
User & Date: bdrewery 2013-05-27 18:43:01
Context
2013-05-28
12:40
HTML: No need to display SET/PTNAME as its already in the JAIL now check-in: e1e5e7443e user: bdrewery tags: trunk
2013-05-27
18:43
HTML: Use 0 for skipped in failure/ignored if nothing was skipped check-in: 04632195d8 user: bdrewery tags: trunk
15:47
HTML: For failures/ignored, show how many ports were skipped check-in: 3db521e5d0 user: bdrewery tags: trunk
Changes

Changes to src/share/poudriere/html/poudriere.js.

188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
					var row = data.ports[status][n];
					var even = ((n % 2) == 0) ? '1' : '0';
					// Add in skipped counts for failures and ignores
					if (status == "failed" || status == "ignored")
						row.skipped_cnt =
							(data.skipped && data.skipped[row.pkgname]) ?
							data.skipped[row.pkgname] :
							'';
					html += '<tr class="' + (first_run ? '' : 'new ') +
						'row' + even + ' "' +
						' >' + format_status_row(status, row) + '</tr>';
				}
				$('#' + status + '_body').append(html);
				$('#' + status + '_body').data('index', n);
			}







|







188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
					var row = data.ports[status][n];
					var even = ((n % 2) == 0) ? '1' : '0';
					// Add in skipped counts for failures and ignores
					if (status == "failed" || status == "ignored")
						row.skipped_cnt =
							(data.skipped && data.skipped[row.pkgname]) ?
							data.skipped[row.pkgname] :
							0;
					html += '<tr class="' + (first_run ? '' : 'new ') +
						'row' + even + ' "' +
						' >' + format_status_row(status, row) + '</tr>';
				}
				$('#' + status + '_body').append(html);
				$('#' + status + '_body').data('index', n);
			}