UEWBot / dipvis

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

Check game ticker template #42

Open UEWBot opened 6 years ago

UEWBot commented 6 years ago

The game ticker template uses the Game's CentreCount count to decided whether to display the background or the info for the game, with the intent being that it displays the background until something happens, and then the news. Given that we always create CentreCounts for 1900 for every game, though, I suspect that it always displays news.

UEWBot commented 5 years ago

Game.news() also checks what CentreCounts we have for the game, and redirects to background() if the most recent is for 1900, so the check in the template is likely redundant