feat: Implement task template management with translation support and improved UI components
This commit is contained in:
@@ -1,13 +1,35 @@
|
|||||||
import ProjectTasksList from "@/components/ProjectTasksList";
|
import ProjectTasksList from "@/components/ProjectTasksList";
|
||||||
import PageContainer from "@/components/ui/PageContainer";
|
import PageContainer from "@/components/ui/PageContainer";
|
||||||
import PageHeader from "@/components/ui/PageHeader";
|
import PageHeader from "@/components/ui/PageHeader";
|
||||||
|
import Button from "@/components/ui/Button";
|
||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
export default function ProjectTasksPage() {
|
export default function ProjectTasksPage() {
|
||||||
return (
|
return (
|
||||||
<PageContainer>
|
<PageContainer>
|
||||||
<PageHeader
|
<PageHeader
|
||||||
title="Zadania projektów"
|
title="Zadania"
|
||||||
description="---"
|
description="Zarządzaj zadaniami projektów"
|
||||||
|
action={
|
||||||
|
<Link href="/tasks/templates">
|
||||||
|
<Button variant="secondary" size="md">
|
||||||
|
<svg
|
||||||
|
className="w-4 h-4 mr-2"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
strokeLinecap="round"
|
||||||
|
strokeLinejoin="round"
|
||||||
|
strokeWidth={2}
|
||||||
|
d="M4 7v10c0 2.21 1.79 4 4 4h8c2.21 0 4-1.79 4-4V7M4 7c0-2.21 1.79-4 4-4h8c2.21 0 4 1.79 4 4M4 7h16M9 11v4m6-4v4"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
Szablony zadań
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
<ProjectTasksList />
|
<ProjectTasksList />
|
||||||
</PageContainer>
|
</PageContainer>
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import db from "@/lib/db";
|
import db from "@/lib/db";
|
||||||
import { notFound } from "next/navigation";
|
import { notFound } from "next/navigation";
|
||||||
import Link from "next/link";
|
import EditTaskTemplateClient from "@/components/EditTaskTemplateClient";
|
||||||
import { Card, CardHeader, CardContent } from "@/components/ui/Card";
|
|
||||||
import Button from "@/components/ui/Button";
|
|
||||||
import TaskTemplateForm from "@/components/TaskTemplateForm";
|
|
||||||
|
|
||||||
export default async function EditTaskTemplatePage({ params }) {
|
export default async function EditTaskTemplatePage({ params }) {
|
||||||
const { id } = await params;
|
const { id } = await params;
|
||||||
@@ -16,52 +13,5 @@ export default async function EditTaskTemplatePage({ params }) {
|
|||||||
notFound();
|
notFound();
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return <EditTaskTemplateClient template={template} />;
|
||||||
<div className="min-h-screen bg-gray-50">
|
|
||||||
<div className="max-w-4xl mx-auto p-6">
|
|
||||||
<div className="flex items-center gap-4 mb-8">
|
|
||||||
<Link href="/tasks/templates">
|
|
||||||
<Button variant="outline" size="sm">
|
|
||||||
<svg
|
|
||||||
className="w-4 h-4 mr-2"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
>
|
|
||||||
<path
|
|
||||||
strokeLinecap="round"
|
|
||||||
strokeLinejoin="round"
|
|
||||||
strokeWidth={2}
|
|
||||||
d="M15 19l-7-7 7-7"
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
Back to Templates
|
|
||||||
</Button>
|
|
||||||
</Link>{" "}
|
|
||||||
<div>
|
|
||||||
<h1 className="text-3xl font-bold text-gray-900">
|
|
||||||
Edit Task Template
|
|
||||||
</h1>
|
|
||||||
<p className="text-gray-600 mt-1">
|
|
||||||
Update the details for “{template.name}”
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<Card>
|
|
||||||
<CardHeader>
|
|
||||||
<h2 className="text-xl font-semibold text-gray-900">
|
|
||||||
Template Details
|
|
||||||
</h2>
|
|
||||||
<p className="text-gray-600">
|
|
||||||
Modify the template information below
|
|
||||||
</p>
|
|
||||||
</CardHeader>
|
|
||||||
<CardContent>
|
|
||||||
<TaskTemplateForm templateId={params.id} initialData={template} />
|
|
||||||
</CardContent>
|
|
||||||
</Card>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
import TaskTemplateForm from "@/components/TaskTemplateForm";
|
import TaskTemplateForm from "@/components/TaskTemplateForm";
|
||||||
|
import { useTranslation } from "@/lib/i18n";
|
||||||
|
|
||||||
export default function NewTaskTemplatePage() {
|
export default function NewTaskTemplatePage() {
|
||||||
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<div className="p-4 max-w-xl mx-auto">
|
<div className="p-4 max-w-xl mx-auto">
|
||||||
<h1 className="text-xl font-bold mb-4">New Task Template</h1>
|
<h1 className="text-xl font-bold mb-4">{t('taskTemplates.newTemplate')}</h1>
|
||||||
<TaskTemplateForm />
|
<TaskTemplateForm />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,24 +1,78 @@
|
|||||||
import db from "@/lib/db";
|
"use client";
|
||||||
|
|
||||||
|
import { useState, useEffect } from "react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { Card, CardHeader, CardContent } from "@/components/ui/Card";
|
import { Card, CardHeader, CardContent } from "@/components/ui/Card";
|
||||||
import Button from "@/components/ui/Button";
|
import Button from "@/components/ui/Button";
|
||||||
import Badge from "@/components/ui/Badge";
|
import Badge from "@/components/ui/Badge";
|
||||||
import PageContainer from "@/components/ui/PageContainer";
|
import PageContainer from "@/components/ui/PageContainer";
|
||||||
import PageHeader from "@/components/ui/PageHeader";
|
import PageHeader from "@/components/ui/PageHeader";
|
||||||
|
import { useTranslation } from "@/lib/i18n";
|
||||||
|
|
||||||
export default function TaskTemplatesPage() {
|
export default function TaskTemplatesPage() {
|
||||||
const templates = db
|
const { t } = useTranslation();
|
||||||
.prepare(
|
const [templates, setTemplates] = useState([]);
|
||||||
`
|
const [loading, setLoading] = useState(true);
|
||||||
SELECT * FROM tasks WHERE is_standard = 1 ORDER BY name ASC
|
|
||||||
`
|
useEffect(() => {
|
||||||
)
|
const fetchTemplates = async () => {
|
||||||
.all();
|
try {
|
||||||
|
const response = await fetch('/api/tasks/templates');
|
||||||
|
if (response.ok) {
|
||||||
|
const data = await response.json();
|
||||||
|
setTemplates(data);
|
||||||
|
} else {
|
||||||
|
console.error('Failed to fetch templates');
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Error fetching templates:', error);
|
||||||
|
} finally {
|
||||||
|
setLoading(false);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
fetchTemplates();
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
if (loading) {
|
||||||
|
return (
|
||||||
|
<PageContainer>
|
||||||
|
<PageHeader
|
||||||
|
title={t('taskTemplates.title')}
|
||||||
|
description={t('taskTemplates.subtitle')}
|
||||||
|
action={
|
||||||
|
<Link href="/tasks/templates/new">
|
||||||
|
<Button variant="primary" size="lg">
|
||||||
|
<svg
|
||||||
|
className="w-5 h-5 mr-2"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
strokeLinecap="round"
|
||||||
|
strokeLinejoin="round"
|
||||||
|
strokeWidth={2}
|
||||||
|
d="M12 4v16m8-8H4"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
{t('taskTemplates.newTemplate')}
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
<div className="text-center py-12">
|
||||||
|
<div className="text-gray-500">{t('common.loading')}</div>
|
||||||
|
</div>
|
||||||
|
</PageContainer>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PageContainer>
|
<PageContainer>
|
||||||
<PageHeader
|
<PageHeader
|
||||||
title="Task Templates"
|
title={t('taskTemplates.title')}
|
||||||
description="Manage reusable task templates"
|
description={t('taskTemplates.subtitle')}
|
||||||
action={
|
action={
|
||||||
<Link href="/tasks/templates/new">
|
<Link href="/tasks/templates/new">
|
||||||
<Button variant="primary" size="lg">
|
<Button variant="primary" size="lg">
|
||||||
@@ -35,7 +89,7 @@ export default function TaskTemplatesPage() {
|
|||||||
d="M12 4v16m8-8H4"
|
d="M12 4v16m8-8H4"
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
New Template
|
{t('taskTemplates.newTemplate')}
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
}
|
}
|
||||||
@@ -58,13 +112,13 @@ export default function TaskTemplatesPage() {
|
|||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
<h3 className="text-lg font-medium text-gray-900 mb-2">
|
<h3 className="text-lg font-medium text-gray-900 mb-2">
|
||||||
No task templates yet
|
{t('taskTemplates.noTemplates')}
|
||||||
</h3>
|
</h3>
|
||||||
<p className="text-gray-500 mb-6">
|
<p className="text-gray-500 mb-6">
|
||||||
Create reusable task templates to streamline your workflow
|
{t('taskTemplates.noTemplatesMessage')}
|
||||||
</p>
|
</p>
|
||||||
<Link href="/tasks/templates/new">
|
<Link href="/tasks/templates/new">
|
||||||
<Button variant="primary">Create First Template</Button>
|
<Button variant="primary">{t('taskTemplates.newTemplate')}</Button>
|
||||||
</Link>
|
</Link>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
@@ -81,7 +135,7 @@ export default function TaskTemplatesPage() {
|
|||||||
{template.name}
|
{template.name}
|
||||||
</h3>
|
</h3>
|
||||||
<Badge variant="primary" size="sm">
|
<Badge variant="primary" size="sm">
|
||||||
{template.max_wait_days} days
|
{template.max_wait_days} {t('common.days')}
|
||||||
</Badge>
|
</Badge>
|
||||||
</div>
|
</div>
|
||||||
{template.description && (
|
{template.description && (
|
||||||
@@ -92,7 +146,7 @@ export default function TaskTemplatesPage() {
|
|||||||
<div className="flex items-center justify-end">
|
<div className="flex items-center justify-end">
|
||||||
<Link href={`/tasks/templates/${template.task_id}/edit`}>
|
<Link href={`/tasks/templates/${template.task_id}/edit`}>
|
||||||
<Button variant="outline" size="sm">
|
<Button variant="outline" size="sm">
|
||||||
Edit
|
{t('taskTemplates.editTemplate')}
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
60
src/components/EditTaskTemplateClient.js
Normal file
60
src/components/EditTaskTemplateClient.js
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import Link from "next/link";
|
||||||
|
import { Card, CardHeader, CardContent } from "@/components/ui/Card";
|
||||||
|
import Button from "@/components/ui/Button";
|
||||||
|
import TaskTemplateForm from "@/components/TaskTemplateForm";
|
||||||
|
import { useTranslation } from "@/lib/i18n";
|
||||||
|
|
||||||
|
export default function EditTaskTemplateClient({ template }) {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="min-h-screen bg-gray-50">
|
||||||
|
<div className="max-w-4xl mx-auto p-6">
|
||||||
|
<div className="flex items-center gap-4 mb-8">
|
||||||
|
<Link href="/tasks/templates">
|
||||||
|
<Button variant="outline" size="sm">
|
||||||
|
<svg
|
||||||
|
className="w-4 h-4 mr-2"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
strokeLinecap="round"
|
||||||
|
strokeLinejoin="round"
|
||||||
|
strokeWidth={2}
|
||||||
|
d="M15 19l-7-7 7-7"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
{t('taskTemplates.title')}
|
||||||
|
</Button>
|
||||||
|
</Link>{" "}
|
||||||
|
<div>
|
||||||
|
<h1 className="text-3xl font-bold text-gray-900">
|
||||||
|
{t('taskTemplates.editTemplate')}
|
||||||
|
</h1>
|
||||||
|
<p className="text-gray-600 mt-1">
|
||||||
|
{t('taskTemplates.subtitle')} “{template.name}”
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<Card>
|
||||||
|
<CardHeader>
|
||||||
|
<h2 className="text-xl font-semibold text-gray-900">
|
||||||
|
{t('taskTemplates.templateName')}
|
||||||
|
</h2>
|
||||||
|
<p className="text-gray-600">
|
||||||
|
{t('taskTemplates.subtitle')}
|
||||||
|
</p>
|
||||||
|
</CardHeader>
|
||||||
|
<CardContent>
|
||||||
|
<TaskTemplateForm templateId={template.task_id} initialData={template} />
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -4,11 +4,13 @@ import { useState, useEffect } from "react";
|
|||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import Button from "./ui/Button";
|
import Button from "./ui/Button";
|
||||||
import { Input } from "./ui/Input";
|
import { Input } from "./ui/Input";
|
||||||
|
import { useTranslation } from "@/lib/i18n";
|
||||||
|
|
||||||
export default function TaskTemplateForm({
|
export default function TaskTemplateForm({
|
||||||
templateId = null,
|
templateId = null,
|
||||||
initialData = null,
|
initialData = null,
|
||||||
}) {
|
}) {
|
||||||
|
const { t } = useTranslation();
|
||||||
const [name, setName] = useState("");
|
const [name, setName] = useState("");
|
||||||
const [max_wait_days, setRequiredWaitDays] = useState("");
|
const [max_wait_days, setRequiredWaitDays] = useState("");
|
||||||
const [description, setDescription] = useState("");
|
const [description, setDescription] = useState("");
|
||||||
@@ -52,11 +54,11 @@ export default function TaskTemplateForm({
|
|||||||
const error = await res.json();
|
const error = await res.json();
|
||||||
alert(
|
alert(
|
||||||
error.error ||
|
error.error ||
|
||||||
`Failed to ${isEditing ? "update" : "create"} task template.`
|
`${t('common.error')} ${isEditing ? t('taskTemplates.editTemplate') : t('taskTemplates.newTemplate')}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
alert(`Error ${isEditing ? "updating" : "creating"} task template.`);
|
alert(`${t('common.error')} ${isEditing ? t('taskTemplates.editTemplate') : t('taskTemplates.newTemplate')}`);
|
||||||
} finally {
|
} finally {
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
}
|
}
|
||||||
@@ -65,41 +67,41 @@ export default function TaskTemplateForm({
|
|||||||
<form onSubmit={handleSubmit} className="space-y-6">
|
<form onSubmit={handleSubmit} className="space-y-6">
|
||||||
<div>
|
<div>
|
||||||
<label className="block text-sm font-medium text-gray-700 mb-2">
|
<label className="block text-sm font-medium text-gray-700 mb-2">
|
||||||
Template Name *
|
{t('taskTemplates.templateName')} *
|
||||||
</label>
|
</label>
|
||||||
<Input
|
<Input
|
||||||
type="text"
|
type="text"
|
||||||
value={name}
|
value={name}
|
||||||
onChange={(e) => setName(e.target.value)}
|
onChange={(e) => setName(e.target.value)}
|
||||||
placeholder="Enter template name"
|
placeholder={t('taskTemplates.templateName')}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label className="block text-sm font-medium text-gray-700 mb-2">
|
<label className="block text-sm font-medium text-gray-700 mb-2">
|
||||||
Max Wait Days
|
{t('taskTemplates.estimatedDuration')}
|
||||||
</label>
|
</label>
|
||||||
<Input
|
<Input
|
||||||
type="number"
|
type="number"
|
||||||
value={max_wait_days}
|
value={max_wait_days}
|
||||||
onChange={(e) => setRequiredWaitDays(e.target.value)}
|
onChange={(e) => setRequiredWaitDays(e.target.value)}
|
||||||
placeholder="Enter maximum wait days"
|
placeholder={t('taskTemplates.estimatedDuration')}
|
||||||
min="0"
|
min="0"
|
||||||
/>
|
/>
|
||||||
<p className="text-sm text-gray-500 mt-1">
|
<p className="text-sm text-gray-500 mt-1">
|
||||||
Maximum number of days this task can wait before it needs attention
|
{t('taskTemplates.estimatedDuration')}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label className="block text-sm font-medium text-gray-700 mb-2">
|
<label className="block text-sm font-medium text-gray-700 mb-2">
|
||||||
Description
|
{t('taskTemplates.templateDescription')}
|
||||||
</label>
|
</label>
|
||||||
<textarea
|
<textarea
|
||||||
value={description}
|
value={description}
|
||||||
onChange={(e) => setDescription(e.target.value)}
|
onChange={(e) => setDescription(e.target.value)}
|
||||||
placeholder="Enter template description (optional)"
|
placeholder={t('taskTemplates.templateDescription')}
|
||||||
rows={3}
|
rows={3}
|
||||||
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
|
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
|
||||||
/>
|
/>
|
||||||
@@ -110,12 +112,12 @@ export default function TaskTemplateForm({
|
|||||||
{loading ? (
|
{loading ? (
|
||||||
<>
|
<>
|
||||||
<div className="inline-block animate-spin rounded-full h-4 w-4 border-b-2 border-white mr-2"></div>
|
<div className="inline-block animate-spin rounded-full h-4 w-4 border-b-2 border-white mr-2"></div>
|
||||||
{isEditing ? "Updating..." : "Creating..."}
|
{isEditing ? t('common.updating') : t('common.creating')}
|
||||||
</>
|
</>
|
||||||
) : isEditing ? (
|
) : isEditing ? (
|
||||||
"Update Template"
|
t('taskTemplates.editTemplate')
|
||||||
) : (
|
) : (
|
||||||
"Create Template"
|
t('taskTemplates.newTemplate')
|
||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
@@ -124,7 +126,7 @@ export default function TaskTemplateForm({
|
|||||||
onClick={() => router.push("/tasks/templates")}
|
onClick={() => router.push("/tasks/templates")}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
>
|
>
|
||||||
Cancel
|
{t('common.cancel')}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -23,8 +23,7 @@ const Navigation = () => {
|
|||||||
const navItems = [
|
const navItems = [
|
||||||
{ href: "/projects", label: t('navigation.projects') },
|
{ href: "/projects", label: t('navigation.projects') },
|
||||||
{ href: "/calendar", label: t('navigation.calendar') || 'Kalendarz' },
|
{ href: "/calendar", label: t('navigation.calendar') || 'Kalendarz' },
|
||||||
{ href: "/tasks/templates", label: t('navigation.taskTemplates') },
|
{ href: "/project-tasks", label: t('navigation.tasks') || 'Tasks' },
|
||||||
{ href: "/project-tasks", label: t('navigation.projectTasks') },
|
|
||||||
{ href: "/contracts", label: t('navigation.contracts') },
|
{ href: "/contracts", label: t('navigation.contracts') },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ const translations = {
|
|||||||
calendar: "Kalendarz",
|
calendar: "Kalendarz",
|
||||||
taskTemplates: "Szablony zadań",
|
taskTemplates: "Szablony zadań",
|
||||||
projectTasks: "Zadania projektów",
|
projectTasks: "Zadania projektów",
|
||||||
|
tasks: "Zadania",
|
||||||
contracts: "Umowy",
|
contracts: "Umowy",
|
||||||
userManagement: "Zarządzanie użytkownikami",
|
userManagement: "Zarządzanie użytkownikami",
|
||||||
projectPanel: "Panel Projektów",
|
projectPanel: "Panel Projektów",
|
||||||
@@ -71,7 +72,8 @@ const translations = {
|
|||||||
clearSearch: "Wyczyść wyszukiwanie",
|
clearSearch: "Wyczyść wyszukiwanie",
|
||||||
filters:"Filtry",
|
filters:"Filtry",
|
||||||
clearAllFilters: "Wyczyść wszystkie filtry",
|
clearAllFilters: "Wyczyść wszystkie filtry",
|
||||||
sortBy: "Sortuj według"
|
sortBy: "Sortuj według",
|
||||||
|
days: "dni"
|
||||||
},
|
},
|
||||||
|
|
||||||
// Dashboard
|
// Dashboard
|
||||||
@@ -534,6 +536,7 @@ const translations = {
|
|||||||
projects: "Projects",
|
projects: "Projects",
|
||||||
taskTemplates: "Task Templates",
|
taskTemplates: "Task Templates",
|
||||||
projectTasks: "Project Tasks",
|
projectTasks: "Project Tasks",
|
||||||
|
tasks: "Tasks",
|
||||||
contracts: "Contracts",
|
contracts: "Contracts",
|
||||||
userManagement: "User Management",
|
userManagement: "User Management",
|
||||||
projectPanel: "Project Panel",
|
projectPanel: "Project Panel",
|
||||||
@@ -589,7 +592,8 @@ const translations = {
|
|||||||
clearSearch: "Clear search",
|
clearSearch: "Clear search",
|
||||||
filters: "Filters",
|
filters: "Filters",
|
||||||
clearAllFilters: "Clear all filters",
|
clearAllFilters: "Clear all filters",
|
||||||
sortBy: "Sort by"
|
sortBy: "Sort by",
|
||||||
|
days: "days"
|
||||||
},
|
},
|
||||||
|
|
||||||
dashboard: {
|
dashboard: {
|
||||||
|
|||||||
Reference in New Issue
Block a user