refactor: Update layout of task template actions for improved alignment and usability

This commit is contained in:
Chop
2025-07-10 23:45:50 +02:00
parent 5228ed3fc0
commit b5120657a9

View File

@@ -89,20 +89,12 @@ export default function TaskTemplatesPage() {
{template.description} {template.description}
</p> </p>
)}{" "} )}{" "}
<div className="flex items-center justify-between"> <div className="flex items-center justify-end">
<span className="text-xs text-gray-500">
Template ID: {template.task_id}
</span>
<div className="flex space-x-2">
<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 Edit
</Button> </Button>
</Link> </Link>
<Button variant="secondary" size="sm">
Duplicate
</Button>
</div>
</div> </div>
</CardContent> </CardContent>
</Card> </Card>