admin: show the filmed date beside the created date

This commit is contained in:
gator 2026-09-10 12:52:10 +00:00
parent 17fe951397
commit 89b78e5ae2

View file

@ -136,8 +136,12 @@ function projHtml(p) {
return '<div class="proj">' return '<div class="proj">'
+ '<div class="grid2"><div>' + media + '</div><div>' + '<div class="grid2"><div>' + media + '</div><div>'
+ '<h3>' + esc(p.title || "(untitled)") + '</h3>' + '<h3>' + esc(p.title || "(untitled)") + '</h3>'
// A re-film updates filmed_at and nothing else. Ordering and dating by
// created_at alone made today's work look like it never happened.
+ '<div class="who">' + esc(p.user_email || "") + ' · ' + esc(p.pet_name || "") + ' · ' + '<div class="who">' + esc(p.user_email || "") + ' · ' + esc(p.pet_name || "") + ' · '
+ esc(p.status || "") + ' · ' + esc(when(p.created_at)) + '</div>' + esc(p.status || "") + ' · created ' + esc(when(p.created_at))
+ (p.filmed_at ? ' · <b>filmed ' + esc(when(p.filmed_at)) + '</b>' : '')
+ '</div>'
+ '<div class="kv">' + '<div class="kv">'
+ '<b>billed</b> ' + money(p.price_usd) + ' · <b>cost</b> ' + money(p.actual_cost_usd || p.cost_usd) + '<b>billed</b> ' + money(p.price_usd) + ' · <b>cost</b> ' + money(p.actual_cost_usd || p.cost_usd)
+ (p.audio_cost_usd + (p.audio_cost_usd