mirror of https://github.com/jenkinsci/jenkins.git
Rename ID
This commit is contained in:
parent
5f76f3840c
commit
aea4d9786e
|
@ -31,7 +31,7 @@ THE SOFTWARE.
|
|||
<l:breadcrumb title="${%Build Time Trend}" />
|
||||
<st:adjunct includes="hudson.model.Job.buildTimeTrend_resources" />
|
||||
<l:main-panel>
|
||||
<template id="icons">
|
||||
<template id="jenkins-build-status-icons">
|
||||
<l:icon src="symbol-status-blue" id="blue" />
|
||||
<l:icon src="symbol-status-yellow" id="yellow" />
|
||||
<l:icon src="symbol-status-red" id="red" />
|
||||
|
|
|
@ -68,7 +68,7 @@ window.buildTimeTrend_displayBuilds = function (data) {
|
|||
* Generate SVG Icon
|
||||
*/
|
||||
function generateSVGIcon(iconName) {
|
||||
const icons = document.querySelector("#icons");
|
||||
const icons = document.querySelector("#jenkins-build-status-icons");
|
||||
iconName = iconName.replace("-anime", "");
|
||||
|
||||
return icons.content.querySelector(`#${iconName}`).cloneNode(true);
|
||||
|
|
|
@ -30,7 +30,7 @@ THE SOFTWARE.
|
|||
A collection of builds to be displayed.
|
||||
</st:attribute>
|
||||
</st:documentation>
|
||||
<template id="icons">
|
||||
<template id="jenkins-build-status-icons">
|
||||
<l:icon src="symbol-status-blue" id="blue" />
|
||||
<l:icon src="symbol-status-yellow" id="yellow" />
|
||||
<l:icon src="symbol-status-red" id="red" />
|
||||
|
|
Loading…
Reference in New Issue