From 17f406451e46a9dddabd0f2ae926abbf24b29b6d Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 8 Oct 2025 22:14:58 +0100 Subject: [PATCH] feat: add template view indicator --- apps/web/src/views/board/index.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/web/src/views/board/index.tsx b/apps/web/src/views/board/index.tsx index 83907ae1..5efcc9a5 100644 --- a/apps/web/src/views/board/index.tsx +++ b/apps/web/src/views/board/index.tsx @@ -7,7 +7,11 @@ import { keepPreviousData } from "@tanstack/react-query"; import { useEffect, useState } from "react"; import { DragDropContext, Draggable } from "react-beautiful-dnd"; import { useForm } from "react-hook-form"; -import { HiOutlinePlusSmall, HiOutlineSquare3Stack3D } from "react-icons/hi2"; +import { + HiOutlinePlusSmall, + HiOutlineRectangleStack, + HiOutlineSquare3Stack3D, +} from "react-icons/hi2"; import type { UpdateBoardInput } from "@kan/api/types"; @@ -374,6 +378,14 @@ export default function BoardPage({ isTemplate }: { isTemplate?: boolean }) {

)}
+ {isTemplate && ( +
+ + + + {t`Template`} +
+ )} {!isTemplate && ( <>