Skip to content

Commit

Permalink
mhutchie#462 Added allow_failure tooltips for GitLab
Browse files Browse the repository at this point in the history
  • Loading branch information
keydepth committed May 2, 2021
1 parent 6f87363 commit cb58c4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ class GitGraphView {
(typeof cicdDataSave.name !== 'undefined' ? `<div class="cicdTooltipTitle">${cicdDataSave.name}</div>` : '') +
(typeof cicdDataSave.status !== 'undefined' ? `<div class="cicdTooltipSection">Status: ${cicdDataSave.status}</div>` : '') +
((typeof cicdDataSave.event !== 'undefined' && cicdDataSave.event !== '') ? `<div class="cicdTooltipSection">Event: ${cicdDataSave.event}</div>` : '') +
((typeof cicdDataSave.allow_failure !== 'undefined' && cicdDataSave.allow_failure) ? `<div class="cicdTooltipSection">Allow Failure: ${cicdDataSave.allow_failure}</div>` : '') +
'</div>' +
`<span class="cicdInfo ${status}">${(status === 'G' ? SVG_ICONS.passed : (status === 'B' ? SVG_ICONS.failed : (status === 'A' ? SVG_ICONS.alert : SVG_ICONS.inconclusive)))}</span>` +
'</a>';
Expand Down

0 comments on commit cb58c4e

Please sign in to comment.