<%# Scheduling ยท the visitor's own shifts (reference plugin). 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: '
' + alertHtml + '

' + count + '

' + tableHtml + '
', brand: chrome.brand, breadcrumbs, csrfToken: chrome.csrfToken, nav: navHtml, styles: ["/public/scheduling/scheduling.css"], theme: chrome.theme, title, user: chrome.user, }) %>