From 13d7360f60389f4fafb950b22d8f453f7e7c4ee8 Mon Sep 17 00:00:00 2001 From: Timothy Allen Date: Mon, 28 Sep 2026 21:28:48 +0200 Subject: [PATCH] Show last update time on the story page The story page already showed last check time. Add last update time next to it, from the existing last_changed field. Co-Authored-By: Claude Sonnet 5 --- bindery/static/js/story.js | 1 + bindery/static/style.css | 1 + 2 files changed, 2 insertions(+) diff --git a/bindery/static/js/story.js b/bindery/static/js/story.js index 6c3399d..1472677 100644 --- a/bindery/static/js/story.js +++ b/bindery/static/js/story.js @@ -155,6 +155,7 @@ export function storyPage(main, { storyId }, config) { story.status && badge(story.status), ` ${story.message || ''}`, story.last_checked && h('span', { class: 'last-check' }, ` Last check ${fmtDate(story.last_checked)}.`), + story.last_changed && h('span', { class: 'last-update' }, ` Last update ${fmtDate(story.last_changed)}.`), ), details.library_error && h('p', { class: 'error' }, `CWA: ${details.library_error}`), holdNotice(), diff --git a/bindery/static/style.css b/bindery/static/style.css index 33b4238..2ca4b4d 100644 --- a/bindery/static/style.css +++ b/bindery/static/style.css @@ -466,6 +466,7 @@ label:has(> input[type='radio']) { .byline, .last-check, +.last-update, .story-site, .field-default, small,