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 <noreply@anthropic.com>
This commit is contained in:
tim
2026-09-28 21:28:48 +02:00
co-authored by Claude Sonnet 5
parent 8faab2463b
commit 13d7360f60
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -155,6 +155,7 @@ export function storyPage(main, { storyId }, config) {
story.status && badge(story.status), story.status && badge(story.status),
` ${story.message || ''}`, ` ${story.message || ''}`,
story.last_checked && h('span', { class: 'last-check' }, ` Last check ${fmtDate(story.last_checked)}.`), 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}`), details.library_error && h('p', { class: 'error' }, `CWA: ${details.library_error}`),
holdNotice(), holdNotice(),
+1
View File
@@ -466,6 +466,7 @@ label:has(> input[type='radio']) {
.byline, .byline,
.last-check, .last-check,
.last-update,
.story-site, .story-site,
.field-default, .field-default,
small, small,