Refactor: Update brand name and dynamic titles

Consistently use "Oscar Pool" as the brand name. Dynamically update page titles to include the active Oscar year.

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-22 07:31:26 +00:00
co-authored by mathieumoran1
parent 88129ca5ac
commit 76e9a934d6
16 changed files with 98 additions and 37 deletions
+2 -2
View File
@@ -2332,7 +2332,7 @@ window.onload = async function () {
// Initial load
activeYear = await fetchActiveYear();
if (activeYear) {
document.title = `Pool Oscars ${activeYear} - Admin`;
document.title = `Oscar Pool (${activeYear}) - Admin`;
}
hookModal100Inputs();
@@ -2352,7 +2352,7 @@ window.onload = async function () {
activeYear = await setActiveYear(y);
activeYearInput.value = String(activeYear);
yearInput.value = String(activeYear);
document.title = `Pool Oscars ${activeYear} - Admin`;
document.title = `Oscar Pool (${activeYear}) - Admin`;
showResponse('success', `Année active appliquée: ${activeYear}`);
await refreshYears();
await loadMoviesForManagement();