show channel_id in tracked content table

And make datetime text normal sized, instead of small
This commit is contained in:
Corban-Lee Jones 2024-07-09 23:45:53 +01:00
parent 358662db9a
commit e4cbe58a00
2 changed files with 8 additions and 4 deletions

View File

@ -59,6 +59,10 @@ function initContentTable() {
return data ? `<i class="bi bi-check-lg text-success"></i>` : ""
}
},
{
title: "Channel",
data: "channel_id",
},
{
title: "Created",
data: "creation_datetime",
@ -68,11 +72,11 @@ function initContentTable() {
let dateTime = new Date(data);
let dateTimeString = formatDate(dateTime);
return $(`
<small data-bs-trigger="hover focus"
<span data-bs-trigger="hover focus"
data-bs-toggle="popover"
data-bs-content="${dateTimeString}">
${dateTime.toISOString().split("T")[0]}
</small>
</span>
`).popover()[0];
}
},

View File

@ -69,11 +69,11 @@ function initSubscriptionTable() {
let dateTime = new Date(data);
let dateTimeString = formatDate(dateTime);
return $(`
<small data-bs-trigger="hover focus"
<span data-bs-trigger="hover focus"
data-bs-toggle="popover"
data-bs-content="${dateTimeString}">
${dateTime.toISOString().split("T")[0]}
</small>
</span>
`).popover()[0];
}
},