Skip to content

Clean up the "ERA" BYB option#647

Merged
pcraig3 merged 4 commits intomainfrom
in-my-ERA-era
Mar 10, 2026
Merged

Clean up the "ERA" BYB option#647
pcraig3 merged 4 commits intomainfrom
in-my-ERA-era

Conversation

@pcraig3
Copy link
Collaborator

@pcraig3 pcraig3 commented Mar 10, 2026

Summary

This PR consolidates all the BYB options into 1 template partial.

We have three variants for the BYB page currently and I would say that we should either:

  • make a separate template for each
  • use one template for all of them with a bunch of 'if' statements

Since the content overlaps so heavily, I am going with option 2.

This change does move the BYB page template out of the main nofo_view template, however, as that does seem to add a lot of noise.

It also re-adds the nofo.inline_css block, which allows us to do CSS overrides to individual NOFOs.

pcraig3 added 4 commits March 10, 2026 11:03
We have several variants for the BYB page and I would say that we
should either:
- make a separate template for each
- use one template for all of them with a bunch of 'if' statements

Since the content overlaps so heavily, I am going with option 2.

This change does move the BYB page template out of the main nofo_view
template, however, as that does seem to add a lot of noise.
This was accidentally removed in a past PR, so we need to add it back in.
@pcraig3
Copy link
Collaborator Author

pcraig3 commented Mar 10, 2026

Works! Shipping it

@pcraig3 pcraig3 merged commit 5d5b913 into main Mar 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant