Conferir e publicar instituições pelo editor assistido com MFA nativo
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -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(/«/g, '«')
|
||||
.replace(/»/g, '»')}
|
||||
.replace(/«/g, "«")
|
||||
.replace(/»/g, "»")}
|
||||
</Link>
|
||||
) : null,
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user