src/AppBundle/Controller/AdminScoreController.php 1 location
|
@@ 209-212 (lines=4) @@
|
| 206 |
|
} |
| 207 |
|
} |
| 208 |
|
|
| 209 |
|
if ($id == 0) { |
| 210 |
|
$this->addFlash("notice", [ "no-result", $username ]); |
| 211 |
|
return $this->redirectToRoute("AdminScore", [ "project"=>$project ]); |
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
return $this->render('adminscore/result.html.twig', [ |
| 215 |
|
'xtPage' => 'adminscore', |
src/AppBundle/Controller/PagesController.php 1 location
|
@@ 293-296 (lines=4) @@
|
| 290 |
|
} |
| 291 |
|
} |
| 292 |
|
|
| 293 |
|
if ($total < 1) { |
| 294 |
|
$this->addFlash("notice", [ "no-result", $username ]); |
| 295 |
|
return $this->redirectToRoute("PagesProject", [ "project"=>$project ]); |
| 296 |
|
} |
| 297 |
|
|
| 298 |
|
ksort($pagesByNamespaceByDate); |
| 299 |
|
ksort($countsByNamespace); |