Show edition year instead of program name platform-wide
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m33s
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m33s
Change program selectors and display labels from full program name to "2026 Edition" format across admin, jury, mentor, observer, and public pages. Selector labels changed from "Program" to "Edition". Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -75,6 +75,7 @@ async function AssignmentsContent({
|
||||
program: {
|
||||
select: {
|
||||
name: true,
|
||||
year: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -154,7 +155,7 @@ async function AssignmentsContent({
|
||||
<div>
|
||||
<p>{assignment.round.name}</p>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
{assignment.round.program.name}
|
||||
{assignment.round.program.year} Edition
|
||||
</p>
|
||||
</div>
|
||||
</TableCell>
|
||||
|
||||
@@ -51,7 +51,7 @@ async function ProjectContent({ projectId }: { projectId: string }) {
|
||||
round: {
|
||||
include: {
|
||||
program: {
|
||||
select: { name: true },
|
||||
select: { name: true, year: true },
|
||||
},
|
||||
evaluationForms: {
|
||||
where: { isActive: true },
|
||||
@@ -158,7 +158,7 @@ async function ProjectContent({ projectId }: { projectId: string }) {
|
||||
<div className="flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between">
|
||||
<div className="space-y-1">
|
||||
<div className="flex items-center gap-2 text-sm text-muted-foreground">
|
||||
<span>{round.program.name}</span>
|
||||
<span>{round.program.year} Edition</span>
|
||||
<span>/</span>
|
||||
<span>{round.name}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user