영역 통합 연결: 공통 화면 틀 우선 사용, AI Wallet 계정명 규칙, 상품정책 조회 이름, 주기 정리 작업 등록
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
b1c06a0304
commit
403d0fb845
+2
-1
@@ -59,4 +59,5 @@ export function externalPage(ctx, deps, site) {
|
||||
return shell(ctx, deps, { title: t('sites.external.title'), nav: 'sites', crumbs: [{ label: t('sites.title'), href: '/sites' }, { label: site.name, href: `/sites/${site.id}` }, { label: t('sites.external.title') }], body: `<div data-page="site-external" data-site="${esc(site.id)}"><div id="external">${deps.statePanel('loading')}</div></div>` });
|
||||
}
|
||||
export function deployPage(ctx, deps, site) { return detailPage(ctx, deps, site, { tab: 'deploy' }); }
|
||||
function shell(ctx, deps, o) { return deps.page({ ...o, user: ctx.user, group: ctx.group, groups: ctx.groups || [], unread: ctx.unread || 0, csrf: ctx.session ? ctx.session.csrf : '', scripts: ['/ui/sites/sites.js'] }); }
|
||||
function shell(ctx, deps, o) { if (deps.shell) return deps.shell(ctx, o); // [통합] 인증 영역의 공통 틀(그룹 목록·읽지 않은 알림·CSRF 포함)을 우선 쓴다
|
||||
return deps.page({ ...o, user: ctx.user, group: ctx.group, groups: ctx.groups || [], unread: ctx.unread || 0, csrf: ctx.session ? ctx.session.csrf : '', scripts: ['/ui/sites/sites.js'] }); }
|
||||
|
||||
Reference in New Issue
Block a user