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:
co-authored by
mathieumoran1
parent
88129ca5ac
commit
76e9a934d6
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user