feat(portal): deliver ordinary national credit fraction and education continuity
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Link } from '@inertiajs/react';
|
||||
import EducationReview from '@/components/education-review';
|
||||
import type { EducationReviewProps } from '@/lib/education-review';
|
||||
import { Management, Pagination } from '../management/shared';
|
||||
import { Management } from '../management/shared';
|
||||
import type { Paginated } from '../management/shared';
|
||||
|
||||
type ReviewEntry = {
|
||||
@@ -146,7 +146,36 @@ export default function Declaration(
|
||||
)}
|
||||
</article>
|
||||
))}
|
||||
<Pagination page={props.history} />
|
||||
<nav
|
||||
aria-label="Paginação do histórico de revisão"
|
||||
className="flex flex-wrap items-center gap-4"
|
||||
>
|
||||
{props.history.prev_page_url && (
|
||||
<Link
|
||||
className="rounded border p-2"
|
||||
href={props.history.prev_page_url}
|
||||
preserveState
|
||||
preserveScroll
|
||||
>
|
||||
Anterior
|
||||
</Link>
|
||||
)}
|
||||
<span>
|
||||
{props.history.total} registos · Página{' '}
|
||||
{props.history.current_page} de{' '}
|
||||
{props.history.last_page}
|
||||
</span>
|
||||
{props.history.next_page_url && (
|
||||
<Link
|
||||
className="rounded border p-2"
|
||||
href={props.history.next_page_url}
|
||||
preserveState
|
||||
preserveScroll
|
||||
>
|
||||
Seguinte
|
||||
</Link>
|
||||
)}
|
||||
</nav>
|
||||
</section>
|
||||
)}
|
||||
</Management>
|
||||
|
||||
Reference in New Issue
Block a user