fix(M01): 기본 로직 안내 글 — 관리자는 흐름도에서 고침 · 아니면 보기만
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016PSXsvyDxjNmufteN5bqmt
This commit is contained in:
@@ -75,6 +75,8 @@ export interface DetailContext {
|
||||
/** 흐름이 있는 로직 — 이 칸에 왼쪽 「지금 내용」(단가산출 상세 · 텍스트 수식 = `buildFlowView`)을 그림 ·
|
||||
* 있으면 호표 · 읽는 식 두 묶음 대신 이 칸을 놓음(기본정보 · 시험 계산은 그대로) */
|
||||
flowHost?: HTMLElement;
|
||||
/** 시스템 관리자 — 기본 로직 안내 글이 다름(흐름도에서 고침 / 보기만) */
|
||||
admin?: boolean;
|
||||
}
|
||||
|
||||
type Group = "labor" | "material" | "cost" | "other";
|
||||
@@ -181,7 +183,7 @@ function infoBox(ctx: DetailContext): HTMLElement {
|
||||
return section(tl("Info_Title"), [
|
||||
el("p", {
|
||||
className: "m01-logic__muted",
|
||||
text: tl(own ? "Info_Own" : "Info_ReadOnly"),
|
||||
text: tl(own ? "Info_Own" : ctx.admin ? "Info_Base" : "Info_ReadOnly"),
|
||||
}),
|
||||
...reasons,
|
||||
el("div", {
|
||||
|
||||
Reference in New Issue
Block a user