UEWBot / dipvis

Django-based visualiser for tournaments for the boardgame Diplomacy
GNU General Public License v3.0
7 stars 4 forks source link

Add a page listing awards to add to the WDD #289

Closed UEWBot closed 4 months ago

UEWBot commented 4 months ago

Now that we include non-best country awards in the generated WDD classification csv file, it's important that the awards be added to the WDD (they're identified by number in the csv file). So we need a page that lists the number-to-name mapping that can be used to add those awards when adding the tournament to the WDD.

We could almost use the existing awards list page, except that the version we want would be the "before the tournament ends" version, and we want to also list the numbers. It may just be a question of passing a new flag "with numbers" to the template and adding an award_number() method to Tournament (this would be called from the template and from the existing _award_number() and would not know about the WDD limit of 12).