diff --git a/src/app/(admin)/admin/awards/[id]/edit/page.tsx b/src/app/(admin)/admin/awards/[id]/edit/page.tsx index d1eaa74..0ec34f3 100644 --- a/src/app/(admin)/admin/awards/[id]/edit/page.tsx +++ b/src/app/(admin)/admin/awards/[id]/edit/page.tsx @@ -122,11 +122,9 @@ export default function EditAwardPage({ return (
The requested jury group could not be found.
-diff --git a/src/app/(admin)/admin/partners/new/page.tsx b/src/app/(admin)/admin/partners/new/page.tsx index b038744..5727a8e 100644 --- a/src/app/(admin)/admin/partners/new/page.tsx +++ b/src/app/(admin)/admin/partners/new/page.tsx @@ -66,11 +66,9 @@ export default function NewPartnerPage() { return (
diff --git a/src/app/(admin)/admin/programs/[id]/edit/page.tsx b/src/app/(admin)/admin/programs/[id]/edit/page.tsx index 88e6e7a..1fc1611 100644 --- a/src/app/(admin)/admin/programs/[id]/edit/page.tsx +++ b/src/app/(admin)/admin/programs/[id]/edit/page.tsx @@ -134,11 +134,9 @@ export default function EditProgramPage() {
diff --git a/src/app/(admin)/admin/programs/[id]/mentorship/page.tsx b/src/app/(admin)/admin/programs/[id]/mentorship/page.tsx index ceb7545..277a999 100644 --- a/src/app/(admin)/admin/programs/[id]/mentorship/page.tsx +++ b/src/app/(admin)/admin/programs/[id]/mentorship/page.tsx @@ -1,8 +1,7 @@ 'use client' import { useState } from 'react' -import { useParams } from 'next/navigation' -import Link from 'next/link' +import { useParams, useRouter } from 'next/navigation' import { trpc } from '@/lib/trpc/client' import { Card, @@ -68,6 +67,7 @@ const defaultMilestoneForm: MilestoneFormData = { export default function MentorshipMilestonesPage() { const params = useParams() + const router = useRouter() const programId = params.id as string const [dialogOpen, setDialogOpen] = useState(false) @@ -184,11 +184,9 @@ export default function MentorshipMilestonesPage() {
diff --git a/src/app/(admin)/admin/projects/[id]/edit/page.tsx b/src/app/(admin)/admin/projects/[id]/edit/page.tsx index 1dedafe..903d0ff 100644 --- a/src/app/(admin)/admin/projects/[id]/edit/page.tsx +++ b/src/app/(admin)/admin/projects/[id]/edit/page.tsx @@ -300,19 +300,17 @@ function EditProjectContent({ projectId }: { projectId: string }) { if (!project) { return (
Project Not Found
-Project Not Found
-This round does not exist.
@@ -622,12 +619,10 @@ export default function RoundDetailPage() { >- {myProject.openRounds.length} submission window - {myProject.openRounds.length !== 1 ? 's' : ''} currently open -
- )} -{assignment.project.title}
@@ -97,12 +99,26 @@ export default function JuryRoundDetailPage() { )}{project.title}
@@ -606,21 +618,37 @@ export default function JuryEvaluatePage({ params: paramsPromise }: PageProps) {View-Only
++ This evaluation has been submitted and the round is now closed. You are viewing a read-only copy of your submission. +
+Important Reminder
-- Your evaluation will be used to assess this project. Please provide thoughtful and - constructive feedback. Your progress is automatically saved as a draft. -
-Important Reminder
++ Your evaluation will be used to assess this project. Please provide thoughtful and + constructive feedback. Your progress is automatically saved as a draft. +
+{currentValue.length}/{criterion.maxLength} @@ -807,6 +844,7 @@ export default function JuryEvaluatePage({ params: paramsPromise }: PageProps) { value={[sliderValue]} onValueChange={(v) => handleCriterionChange(criterion.id, v[0])} className="flex-1" + disabled={isReadOnly} /> {max}
You may not have access to view this project.
-Project Not Found
-