This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
export const states: Record<string, string> = {
|
||||
draft: 'Rascunho',
|
||||
submitted: 'Submetido',
|
||||
in_review: 'Em revisão',
|
||||
approved: 'Aprovado',
|
||||
published: 'Publicado',
|
||||
returned: 'Devolvido',
|
||||
rejected: 'Rejeitado',
|
||||
archived: 'Arquivado',
|
||||
};
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Link, useForm } from '@inertiajs/react';
|
||||
import { Management, Field, button, control } from './shared';
|
||||
import { states } from './editorial-workflow';
|
||||
import { states } from '@/lib/editorial-states';
|
||||
import { labels as portfolioLabels } from '../portfolio/shared';
|
||||
import SubjectForm from './editorial-subject-form';
|
||||
import type { SubjectField } from './editorial-subject-form';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Link } from '@inertiajs/react';
|
||||
import { Management } from './shared';
|
||||
import { states } from './editorial-workflow';
|
||||
import { states } from '@/lib/editorial-states';
|
||||
|
||||
const titles: Record<string, string> = {
|
||||
projects: 'Projectos',
|
||||
|
||||
@@ -1,16 +1,8 @@
|
||||
import { Link, router } from '@inertiajs/react';
|
||||
import { Field, Management, button, control } from './shared';
|
||||
|
||||
export const states: Record<string, string> = {
|
||||
draft: 'Rascunho',
|
||||
submitted: 'Submetido',
|
||||
in_review: 'Em revisão',
|
||||
approved: 'Aprovado',
|
||||
published: 'Publicado',
|
||||
returned: 'Devolvido',
|
||||
rejected: 'Rejeitado',
|
||||
archived: 'Arquivado',
|
||||
};
|
||||
import { states } from '@/lib/editorial-states';
|
||||
|
||||
type Item = {
|
||||
id: number;
|
||||
title: string;
|
||||
|
||||
@@ -14,7 +14,7 @@ import type {
|
||||
Force,
|
||||
} from '@/lib/cluster-competitiveness';
|
||||
import { button, control } from '../management/shared';
|
||||
import { states as editorialStates } from '../management/editorial-workflow';
|
||||
import { states as editorialStates } from '@/lib/editorial-states';
|
||||
|
||||
const labels = {
|
||||
evidence: 'Observações e evidências locais',
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
import type { Paginated } from '../management/shared';
|
||||
import { titles, statuses } from './types';
|
||||
import type { Structure, StructureRecord } from './types';
|
||||
import { states as editorialStates } from '../management/editorial-workflow';
|
||||
import { states as editorialStates } from '@/lib/editorial-states';
|
||||
|
||||
export default function Index({
|
||||
structure,
|
||||
|
||||
Reference in New Issue
Block a user