<%# OAuth2 clients admin list: apps that log in *through* us (Hydra). Same building blocks as the Groups screen, around the shell, backed by live Hydra OAuth2 clients (admin-clients.ts). %><% const nav = include("partials/nav-tree", { nodes: chrome.nav }); const filters = include("partials/filter-bar", model.filterBar); const table = include("partials/data-table", model.table); const pager = include("partials/pagination", model.pagination); // Only offer "Register client" to an oauth2-clients:write holder — a :read one would get the 403 page. const actions = model.canWrite === false ? "" : '' + t("admin.clients.registerClient") + ''; -%> <%- include("partials/shell", { actions, body: filters + table + pager, brand: chrome.brand, breadcrumbs: model.breadcrumbs, csrfToken: chrome.csrfToken, nav, theme: chrome.theme, title: model.title, user: chrome.user, }) %>