feat: update sidebar ui

This commit is contained in:
ivannoskov
2026-01-21 10:36:08 +03:00
parent 1f36a074af
commit 0af5cd7458
8 changed files with 214 additions and 160 deletions

View File

@@ -342,8 +342,8 @@ export default function PurchasePlanDetailPage() {
<DashboardHeader
breadcrumbs={[
{ label: "Главная", href: `/dashboard/${workspaceId}` },
{ label: "Планы закупок", href: `/dashboard/${workspaceId}/purchase-plans` },
{ label: project?.title || "План закупок" },
{ label: "Планы закупов", href: `/dashboard/${workspaceId}/purchase-plans` },
{ label: project?.title || "План закупов" },
]}
/>
@@ -360,7 +360,7 @@ export default function PurchasePlanDetailPage() {
</Button>
<div>
<h1 className="text-2xl font-bold tracking-tight">
План закупок: {project?.title}
План закупов: {project?.title}
</h1>
<p className="text-muted-foreground">
{stats.totalChannels} каналов Планируемый бюджет:{" "}
@@ -577,7 +577,7 @@ export default function PurchasePlanDetailPage() {
<DialogHeader>
<DialogTitle>Добавить канал в план</DialogTitle>
<DialogDescription>
Выберите канал из каталога для добавления в план закупок
Выберите канал из каталога для добавления в план закупов
</DialogDescription>
</DialogHeader>
@@ -723,7 +723,7 @@ export default function PurchasePlanDetailPage() {
<AlertDialogHeader>
<AlertDialogTitle>Удалить канал из плана?</AlertDialogTitle>
<AlertDialogDescription>
Канал "{deletingChannel?.channel.title}" будет удалён из плана закупок.
Канал "{deletingChannel?.channel.title}" будет удалён из плана закупов.
Это действие нельзя отменить.
</AlertDialogDescription>
</AlertDialogHeader>