10000 Add display label to Tiered Benefits by berinhard · Pull Request #2115 · python/pythondotorg · GitHub
[go: up one dir, main page]

Skip to content

Add display label to Tiered Benefits #2115

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

Merged
merged 8 commits into from
Aug 12, 2022
Merged

Add display label to Tiered Benefits #2115

merged 8 commits into from
Aug 12, 2022

Conversation

berinhard
Copy link
Contributor

This PR renames both TieredQuantityand TieredQuantityConfiguration to TieredBenefit and TieredBenefitConfiguration. The renaming goal is to make it more generic since this PR also adds a new display_label attribute to both models. This label wil take precedence over the quantity when listing the benefit in the sponsorship application form and also when modifying the benefit's name (during contract generation, for example).

@berinhard berinhard requested a review from ewdurbin August 10, 2022 17:24
@ewdurbin ewdurbin force-pushed the feature/tiered-benefit branch from b6fb3fa to f2872e0 Compare August 11, 2022 18:57
@ewdurbin ewdurbin merged commit 4cc633b into main Aug 12, 2022
@ewdurbin ewdurbin deleted the feature/tiered-benefit branch August 12, 2022 14:02
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.

2 participants
0