feat(editorial): preserve public editions and add QA review workflow
This commit is contained in:
@@ -3,6 +3,7 @@ import { Frame, card, button } from '@/pages/investment/shared';
|
||||
import { states } from './shared';
|
||||
|
||||
type Access = {
|
||||
editorial?: { index: string };
|
||||
procurement?: { index: string; create: string };
|
||||
opportunities?: {
|
||||
index: string;
|
||||
@@ -26,6 +27,20 @@ export default function ContentHub({
|
||||
acção respeita a sua autorização actual.
|
||||
</p>
|
||||
<div className="grid gap-4 md:grid-cols-2">
|
||||
{access.editorial && (
|
||||
<section className={card}>
|
||||
<h2 className="text-xl font-semibold">
|
||||
Circuito editorial
|
||||
</h2>
|
||||
<p>
|
||||
Preparar, rever, aprovar e publicar versões de
|
||||
artigos, legislação e documentos.
|
||||
</p>
|
||||
<Link className={button} href={access.editorial.index}>
|
||||
Abrir fila editorial
|
||||
</Link>
|
||||
</section>
|
||||
)}
|
||||
{access.procurement && (
|
||||
<section className={card}>
|
||||
<h2 className="text-xl font-semibold">
|
||||
|
||||
Reference in New Issue
Block a user