Skip to content

overview: render subgrant names if they exist in the new project model#581

Merged
fricklerhandwerk merged 1 commit into
ngi-nix:mainfrom
erictapen:overview
Mar 12, 2025
Merged

overview: render subgrant names if they exist in the new project model#581
fricklerhandwerk merged 1 commit into
ngi-nix:mainfrom
erictapen:overview

Conversation

@erictapen
Copy link
Copy Markdown
Contributor

@erictapen erictapen commented Mar 12, 2025

tmp xCpD4nTpRx

Comment thread overview/default.nix
${heading 1 name}
<https://nlnet.nl/project/${name}>

${render.subgrants.many (project.metadata.subgrants or [ ])}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be feasible to fall back to using <https://nlnet.nl/project/${name}> if project.metadata.subgrants doesn't exist? As such, we won't break the links for the old projects.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's okay to break it temporarily (since it's a partial break) and in one of the next steps to invert the compatibility wrapper so //projects-old are converted to the new format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants