up wiki compare

This commit is contained in:
Tykayn 2025-08-31 22:53:28 +02:00 committed by tykayn
parent e715d66020
commit a59113400c
18 changed files with 4384 additions and 223314 deletions

View file

@ -2508,6 +2508,7 @@ final class AdminController extends AbstractController
return $this->render('admin/osmose_issues_map.html.twig', [
'city' => $city,
'stats' => $city,
'theme' => $theme,
'themes' => $themes,
'osmoseIssues' => $osmoseIssues,

View file

@ -129,8 +129,8 @@ class WikiController extends AbstractController
// If older than 1 hour, refresh the data
if ($diff->h >= 1 || $diff->days > 0) {
$this->refreshRecentChangesData();
return $this->redirectToRoute('app_admin_wiki_recent_changes');
// $this->refreshRecentChangesData();
// return $this->redirectToRoute('app_admin_wiki_recent_changes');
}
}
} else {
@ -139,7 +139,7 @@ class WikiController extends AbstractController
// Check if the file was created
if (file_exists($recentChangesFile)) {
return $this->redirectToRoute('app_admin_wiki_recent_changes');
// return $this->redirectToRoute('app_admin_wiki_recent_changes');
} else {
$this->addFlash('error', 'Impossible de générer le fichier des changements récents.');
}