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

fixed #13867 tournament requirements styling #14019

Merged
merged 7 commits into from
Nov 19, 2023
Merged

fixed #13867 tournament requirements styling #14019

merged 7 commits into from
Nov 19, 2023

Conversation

DJoepie
Copy link
Contributor

@DJoepie DJoepie commented Nov 16, 2023

If a tournament is finished, the requirements should still be listed but without the styling to see if the conditions are met or not.

This fixes #13867

If a tournament is finished, the requirements should still be listed but without the styling to see if the conditions are met or not.

This fixes #13867
Copy link
Member

@fitztrev fitztrev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Nice idea using the relevant flag.

before with this pr
image image

app/views/tournament/side.scala Outdated Show resolved Hide resolved
app/views/tournament/side.scala Outdated Show resolved Hide resolved
DJoepie and others added 6 commits November 17, 2023 09:38
After a review, made the one-liner cleaner by just passing the !tour.isFinished into the `relevant` flag.
This commit removes the conditional formatting for Swiss tournament requirements in the same way it was done for regular tournaments.

This is done by passing !Swiss.isFinished into the `relevant` flag when rendering the verdicts.
* master:
  remove superfluous account CSS classes, some scala tweaks
  show completed game result in blind mode
  fix typo
  prettierignore readme and add -n short arg for --no-install
  remove unnecessary tsc flag
  fix insight & chart tsc deps
  use pnpm again
  remove npm package-lock and old config file template
  handle package.json change
  Fix cli search for mobile
  Update scalafmt-core to 3.7.17
  Update lettuce-core to 6.3.0.RELEASE
  fixing
  remove duplicated quotes
  css
  add tag id and link
@ornicar ornicar merged commit 9b2e90a into lichess-org:master Nov 19, 2023
2 checks passed
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.

Change styling of entry requirements when viewing finished tournaments
3 participants