From e4cbe58a00df6130f51d4a51eeb3bc270dd4b3b9 Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Tue, 9 Jul 2024 23:45:53 +0100 Subject: [PATCH] show channel_id in tracked content table And make datetime text normal sized, instead of small --- apps/static/js/home/content.js | 8 ++++++-- apps/static/js/home/subscriptions.js | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/static/js/home/content.js b/apps/static/js/home/content.js index be92bc9..e813e35 100644 --- a/apps/static/js/home/content.js +++ b/apps/static/js/home/content.js @@ -59,6 +59,10 @@ function initContentTable() { return data ? `` : "" } }, + { + 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 $(` - ${dateTime.toISOString().split("T")[0]} - + `).popover()[0]; } }, diff --git a/apps/static/js/home/subscriptions.js b/apps/static/js/home/subscriptions.js index b52c049..042362d 100644 --- a/apps/static/js/home/subscriptions.js +++ b/apps/static/js/home/subscriptions.js @@ -69,11 +69,11 @@ function initSubscriptionTable() { let dateTime = new Date(data); let dateTimeString = formatDate(dateTime); return $(` - ${dateTime.toISOString().split("T")[0]} - + `).popover()[0]; } },