%# Scheduling ยท the visitor's own shifts (reference plugin). Reached behind `session: true`, so ctx.user is always set by the time this renders. Data: chrome, title, breadcrumbs, count, table, error? %><% const navHtml = include("partials/nav-tree", { nodes: chrome.nav }); const tableHtml = include("partials/data-table", table); const alertHtml = locals.error ? include("partials/alert", { text: locals.error, tone: "neg" }) : ""; -%> <%- include("partials/shell", { body: '
' + count + '
' + tableHtml + '