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:
@@ -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(),
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user