fix(projects): add translation and fix minor details in Projects create modal
This commit is contained in:
@@ -161,8 +161,15 @@ export const Projects: React.FC = () => {
|
||||
</CardTitle>
|
||||
</div>
|
||||
<p className="text-sm text-slate-500 dark:text-slate-400 line-clamp-1">
|
||||
{project.client ? `${t.projects?.client || "Client"}: ${project.client.name}` : t.projects?.noDescription || 'No description'}
|
||||
{project.client ? `${t.projects?.client || "Client"}: ${project.client.name}` : t.projects?.noClient || 'No client'}
|
||||
</p>
|
||||
|
||||
{project.description && (
|
||||
<p className="text-sm text-slate-600 dark:text-slate-300 mt-2 line-clamp-2">
|
||||
{project.description}
|
||||
</p>
|
||||
)}
|
||||
|
||||
</div>
|
||||
|
||||
<div className="flex items-center gap-2 shrink-0">
|
||||
|
||||
Reference in New Issue
Block a user