Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add variables to hidden user explanation templates #8121

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

gbp
Copy link
Member

@gbp gbp commented Feb 5, 2024

Relevant issue(s)

Needed to improve mysociety/whatdotheyknow-theme#1823

What does this do?

Add variables to hidden user explanation templates

Why was this needed?

Allow templates to be improve the rendering of prominence reasons and/or explanations using conditionals to check these new variables so we can render different text for each field.

Allow templates to be improve the rendering of prominence reasons and/or
explanations using conditionals to check these new variables so we can
render different text for each field.
@gbp gbp force-pushed the add-hidden-user-explanation-template-vars branch from 411cb3a to 06d9963 Compare February 5, 2024 12:17
@WilliamWDTK
Copy link
Collaborator

@gbp gbp merged commit 7b32171 into develop Feb 9, 2024
7 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.

None yet

2 participants