Scene bar: a scene with every shot on the floor says so

This commit is contained in:
gator 2026-09-24 20:22:53 +00:00
parent baaca626bc
commit 33ab8c30e7

View file

@ -1515,7 +1515,7 @@
+ '<span class="n">Scene ' + (gi + 1) + '</span>' + '<span class="n">Scene ' + (gi + 1) + '</span>'
+ '<span class="t">' + esc(g.name) + '</span>' + '<span class="t">' + esc(g.name) + '</span>'
+ '<span class="st">shots ' + esc(g.shots[0].id) + '&ndash;' + esc(g.shots[g.shots.length - 1].id) + ' &middot; ' + live.length + ' shot' + (live.length === 1 ? '' : 's') + (floored ? ' (+' + floored + ' on the floor)' : '') + ' &middot; ' + secs.toFixed(0) + ' s &middot; ' + '<span class="st">shots ' + esc(g.shots[0].id) + '&ndash;' + esc(g.shots[g.shots.length - 1].id) + ' &middot; ' + live.length + ' shot' + (live.length === 1 ? '' : 's') + (floored ? ' (+' + floored + ' on the floor)' : '') + ' &middot; ' + secs.toFixed(0) + ' s &middot; '
+ (busy ? 'working&hellip;' : done ? 'all filmed' : filmed + ' of ' + live.length + ' filmed') + '</span></button>'; + (busy ? 'working&hellip;' : !live.length ? 'all on the cutting room floor' : done ? 'all filmed' : filmed + ' of ' + live.length + ' filmed') + '</span></button>';
if (open) { if (open) {
var ids = live.filter(function (x) { return x.clip_url; }).map(function (x) { return x.id; }); var ids = live.filter(function (x) { return x.clip_url; }).map(function (x) { return x.id; });
out += '<div class="sceneshare">' + (ids.length ? '<button type="button" class="btn small ghost" data-sharescene="' + esc(ids.join(",")) + '" data-scenelabel="' + esc("Scene " + (gi + 1) + " - " + g.name) + '">Share this scene (' + ids.length + ' clip' + (ids.length === 1 ? '' : 's') + ', played in order)</button>' : 'Nothing filmed in this scene yet.') out += '<div class="sceneshare">' + (ids.length ? '<button type="button" class="btn small ghost" data-sharescene="' + esc(ids.join(",")) + '" data-scenelabel="' + esc("Scene " + (gi + 1) + " - " + g.name) + '">Share this scene (' + ids.length + ' clip' + (ids.length === 1 ? '' : 's') + ', played in order)</button>' : 'Nothing filmed in this scene yet.')