From 21fe0e9978e62a3970710dfec7f7631d193b11e8 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Sun, 17 Dec 2023 21:24:18 +0100 Subject: [PATCH] fixed more typos + added check for tooltip --- status.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/status.html b/status.html index fb8e620..d4e8470 100644 --- a/status.html +++ b/status.html @@ -80,7 +80,7 @@ Status Reason + title="link time optimization does not guarantee that package is actually built with LTO"> LTO DS @@ -258,7 +258,10 @@ Info.style.backgroundColor = rowColor const logFile = pkg.status === 'failed' ? '' : '' const aw = 'AW' - const info = '' + let info = '' + if (pkg.build_date && pkg.peak_mem) { + info = '' + } Info.classList.add('text-end') Info.innerHTML = `${logFile} ${aw} ${info}` ntr.appendChild(Info) @@ -325,13 +328,13 @@ switch (lto) { case 'enabled': icon = { - title: 'build with LTO', + title: 'built with LTO', class: 'fa fa-check fa-lg text-success' } break case 'unknown': icon = { - title: 'not build with LTO yet', + title: 'not built with LTO yet', class: 'fa fa-hourglass-o fa-lg text-black-50' } break @@ -365,13 +368,13 @@ break case 'unknown': icon = { - title: 'Not build yet', + title: 'Not built yet', class: 'fa fa-hourglass-o fa-lg text-black-50' } break case 'not_available': icon = { - title: 'Not build with debug symbols', + title: 'Not built with debug symbols', class: 'fa fa-times fa-lg text-danger' } break