feat: Add assigned user initial to project details and update translations

This commit is contained in:
2025-09-29 19:50:22 +02:00
parent a4e607bfe1
commit 6ab87c7396
3 changed files with 16 additions and 4 deletions

View File

@@ -471,7 +471,7 @@ export default function ProjectListPage() {
{t('common.status') || 'Status'}
</th>
<th className="text-left px-2 py-3 font-semibold text-xs text-gray-700 dark:text-gray-300 w-14 md:w-16">
Placeholder
{t('projects.assigned') || 'Przypisany'}
</th>
</tr>
</thead>
@@ -563,7 +563,15 @@ export default function ProjectListPage() {
</div>
</td>
<td className="px-2 py-3">
<span className="text-xs text-gray-500">Placeholder</span>
{project.assigned_to_initial ? (
<div className="flex items-center justify-center">
<span className="inline-flex items-center justify-center w-8 h-8 bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 rounded-full text-xs font-semibold">
{project.assigned_to_initial}
</span>
</div>
) : (
<span className="text-xs text-gray-400">-</span>
)}
</td>
</tr>
))}