fix: add tooltip to source dot in batch history
This commit is contained in:
parent
5706f32ba2
commit
6a2b8513d4
1 changed files with 4 additions and 2 deletions
|
|
@ -2876,8 +2876,10 @@ function _adlRenderBatchHistory() {
|
|||
// Optional thumbnail
|
||||
const thumb = h.thumb_url
|
||||
? `<img src="${_adlEsc(h.thumb_url)}" class="adl-batch-history-thumb" loading="lazy">`
|
||||
: '';
|
||||
|
||||
: '';Source = h.source || h.source_page || '';
|
||||
const dotColor = sourceColors[dotSource] || '255, 255, 255';
|
||||
const dotTip = dotSource ? `Source: ${dotSource}` : 'Unknown source';
|
||||
const histDot = `<span class="adl-batch-history-dot" style="background:rgba(${dotColor}, 0.6)" title="${dotTip}
|
||||
// Server push status indicator
|
||||
let pushBadge = '';
|
||||
if (h.server_push_status) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue