Skip to content

Improvement : add session club in board template if existing#377

Open
Tit-Co wants to merge 25 commits intoOpenClassrooms-Student-Center:masterfrom
Tit-Co:improvement/add-session-club-in-board-template-if-existing
Open

Improvement : add session club in board template if existing#377
Tit-Co wants to merge 25 commits intoOpenClassrooms-Student-Center:masterfrom
Tit-Co:improvement/add-session-club-in-board-template-if-existing

Conversation

@Tit-Co
Copy link

@Tit-Co Tit-Co commented Mar 19, 2026

Summary

  • The app should adapt the links( go to summary or log in) in templates if a user is authenticated or not, specially in board template.

Improvement

server.py

  • Added the club name in template rendering in order to adapt the template content with appropriate links.
  • Popped the club from session if logging out.

Templates

  • Checked if club name exists and insert the appropriate link.

Tit-Co added 25 commits March 9, 2026 18:08
…ase places with not enough points, update unit tests
…ld not be able to book more than 12 places per competition, update unit tests
…ate not reflected, update unit tests with mocks
…d not be able to book more than 12 places per competition, update tests
…aces in past competitions should not be possible, add two more unit tests for that bug fix
…ould not be able to book more than places available, update unit tests
…, add one more unit test for that improvement, update unit tests
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.

1 participant