This commit is contained in:
2026-07-10 19:52:06 +09:00
parent b98affbf99
commit 6b1583103f
19 changed files with 1515 additions and 98 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
import { CURRENT_PROJECT_ID_KEY, ROUTES, type RoutePath } from "@config/config_frontend";
import { isBlank } from "@util/common_util_validate";
import { navigateTo } from "../A00_Common/router";
import { workflowSteps } from "../A00_Common/b_page_scaffold";
import { ui_locales, currentLanguageIndex } from "@ui/ui_template_locale";
import {
createButton,
@@ -382,12 +383,13 @@ function workflow(project: ProjectItem): HTMLElement {
box.className = "b01-dashboard__workflow";
const stages = project.workflow_state?.stages;
const stepLabels = workflowSteps();
routes.forEach((route, index) => {
const button = document.createElement("button");
button.type = "button";
button.className = "b01-dashboard__step";
button.textContent = `B${String(index + 3).padStart(2, "0")}`;
button.textContent = stepLabels[index] ?? `B${String(index + 3).padStart(2, "0")}`;
let enabled = false;
if (stages && stages.length > 0) {