Conferir e publicar instituições pelo editor assistido com MFA nativo
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-10 21:09:18 +02:00
parent 5a5cc9e815
commit ef24cbdc92
12 changed files with 612 additions and 97 deletions
+14 -8
View File
@@ -1,5 +1,5 @@
import { Link } from '@inertiajs/react';
import { Frame, card, button } from '@/pages/investment/shared';
import { Link } from "@inertiajs/react";
import { Frame, card, button } from "@/pages/investment/shared";
export default function Manage({
items,
references = [],
@@ -23,6 +23,12 @@ export default function Manage({
<Link className="ml-4 underline" href="/fundos">
Catálogo público
</Link>
<Link
className={button}
href="/management/fundos/referencias-assistidas"
>
Preparar e conferir as instituições fornecidas
</Link>
<details className={card}>
<summary>
Preparar referências fornecidas ({references.length})
@@ -51,10 +57,10 @@ export default function Manage({
{item.title}
</Link>
<p>
Versão de trabalho {item.version} —{' '}
Versão de trabalho {item.version} —{" "}
{item.published
? 'com publicação'
: 'sem publicação pública'}
? "com publicação"
: "sem publicação pública"}
</p>
</article>
))}
@@ -65,11 +71,11 @@ export default function Manage({
key={index}
href={link.url}
className="underline"
aria-current={link.active ? 'page' : undefined}
aria-current={link.active ? "page" : undefined}
>
{link.label
.replace(/&laquo;/g, '«')
.replace(/&raquo;/g, '»')}
.replace(/&laquo;/g, "«")
.replace(/&raquo;/g, "»")}
</Link>
) : null,
)}