Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Tournament short name usage #59

Open
halfa opened this issue Dec 22, 2016 · 1 comment
Open

Tournament short name usage #59

halfa opened this issue Dec 22, 2016 · 1 comment

Comments

@halfa
Copy link
Member

halfa commented Dec 22, 2016

The tournament entity got a shortName parameter. This parameter is used:

  • for displaying proper background on /tournament/{tournamentId}/public
  • as tag on the event map to allow the players to pick a seat

22dd507 use the tournament short name to determine what background to use by capitalizing it and picking the correct file, but I'll change it to use the type instead.

As the shortName is basically tournamentType+tournamentYear should we replace it by a virtual attribute ?

@halfa halfa changed the title Tournament shortName usage Tournament short name usage Dec 22, 2016
@Teanan
Copy link
Contributor

Teanan commented Dec 22, 2016

Also used for the captive portail API but yeah we can totally replace it by a virtual attribute.

Just, would not that be a problem with the tournament type "manual" ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants