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

Show tier name in addition to tier number in messages #165

Open
m-i-l opened this issue Nov 6, 2024 · 0 comments
Open

Show tier name in addition to tier number in messages #165

m-i-l opened this issue Nov 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@m-i-l
Copy link
Contributor

m-i-l commented Nov 6, 2024

If someone submits a site that has already been submitted, they see a message such as "The domain {} already has an active tier {} listing with a home page at {}", where the tier is a number, e.g. 1. To be more understandable, it should show the tier name, e.g. Basic in the case of 1.

To implement, update get_active_tier(domain) in add.py to return a tuple (current_active_tier_no, current_active_tier_name) in place of the current current_active_tier. This in turn will involve rewriting sql_select_active_tier in sql.py to do a join on tblTiers to get tier_name, because tblListingStatus just contains tier (which is the number).

@m-i-l m-i-l added the enhancement New feature or request label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant