|
|
@@ -37,7 +37,9 @@ if($user->isTester() || $user->isAdmin()) {
|
|
|
$tests = $user->getPendingTests();
|
|
|
$tests_remaining = count($tests);
|
|
|
|
|
|
- $tests_icon = new AccountIcon("Tests", "/account/tests", "clipboard-check");
|
|
|
+ $tests_url = $user->isAdmin() ? "/account/tests?custom=overdue_test" : "/account/tests";
|
|
|
+
|
|
|
+ $tests_icon = new AccountIcon("Tests", $tests_url, "clipboard-check");
|
|
|
$tests_icon->setCounter($tests_remaining);
|
|
|
|
|
|
$icons[] = $tests_icon;
|