Skip to content

Commit

Permalink
Remove reference to timeline widget in build history (#8718)
Browse files Browse the repository at this point in the history
Init

Co-authored-by: Alexander Brandes <[email protected]>
  • Loading branch information
janfaracik and NotMyFault authored Nov 28, 2023
1 parent edd70cd commit 37622ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,7 @@ window.displayBuilds = function (data) {

var td3 = document.createElement("td");
td3.setAttribute("data", e.timestampString2);
var button = document.createElement("button");
button.classList.add("jenkins-table__link");
button.setAttribute("tooltip", p.dataset.scrollTooltip);
button.setAttribute(
"onclick",
'javascript:tl.getBand(0).scrollToCenter(Timeline.DateTime.parseGregorianDateTime("' +
e.timestampString3 +
'"))',
);
button.textContent = e.timestampString;
td3.appendChild(button);
td3.textContent = e.timestampString;
tr.appendChild(td3);

var td4 = document.createElement("td");
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/hudson/buildListTable.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ THE SOFTWARE.
<j:set var="consoleOutputIcon" trim="true">
<l:icon src="symbol-terminal" alt="${%Console output}" />
</j:set>
<table class="jenkins-table ${iconSize == '16x16' ? 'jenkins-table--small' : iconSize == '24x24' ? 'jenkins-table--medium' : ''} sortable" id="projectStatus" style="display: none;" data-icon-size-class="${iconSizeClass}" data-scroll-tooltip="${%Click to center timeline on event}" data-console-output-icon="${consoleOutputIcon}">
<table class="jenkins-table ${iconSize == '16x16' ? 'jenkins-table--small' : iconSize == '24x24' ? 'jenkins-table--medium' : ''} sortable" id="projectStatus" style="display: none;" data-icon-size-class="${iconSizeClass}" data-console-output-icon="${consoleOutputIcon}">
<thead>
<tr>
<th class="jenkins-table__cell--tight">${%S}</th>
Expand Down

0 comments on commit 37622ec

Please sign in to comment.