Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Dec 13, 2023
1 parent 24dd6c2 commit a752d02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ window.buildTimeTrend_displayBuilds = function (data) {
*/
function generateSVGIcon(iconName) {
const icons = document.querySelector("#jenkins-build-status-icons");
iconName = iconName.replace("-anime", "");

return icons.content.querySelector(`#${iconName}`).cloneNode(true);
}

Expand Down
6 changes: 6 additions & 0 deletions core/src/main/resources/lib/hudson/buildListTable.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,17 @@ THE SOFTWARE.
</st:documentation>
<template id="jenkins-build-status-icons">
<l:icon src="symbol-status-blue" id="blue" />
<l:icon src="symbol-status-blue-anime" id="blue-anime" />
<l:icon src="symbol-status-yellow" id="yellow" />
<l:icon src="symbol-status-yellow-anime" id="yellow-anime" />
<l:icon src="symbol-status-red" id="red" />
<l:icon src="symbol-status-red-anime" id="red-anime" />
<l:icon src="symbol-status-nobuilt" id="nobuilt" />
<l:icon src="symbol-status-nobuilt-anime" id="nobuilt-anime" />
<l:icon src="symbol-status-aborted" id="aborted" />
<l:icon src="symbol-status-aborted-anime" id="aborted-anime" />
<l:icon src="symbol-status-disabled" id="disabled" />
<l:icon src="symbol-status-disabled-anime" id="disabled-anime" />
<l:icon src="symbol-terminal" id="console" />
</template>

Expand Down

0 comments on commit a752d02

Please sign in to comment.