Преглед изворни кода

Add failed and untested buttons to dashboard

Alan Lam пре 3 година
родитељ
комит
df4cbf9add
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      controllers/account.php

+ 2 - 0
controllers/account.php

@@ -107,6 +107,8 @@ if($user->canAccessCustomers()) {
 
 
 if($user->canAccessMapOverview()) {
 if($user->canAccessMapOverview()) {
 	$icons[] = new AccountIcon(__("Map Overview"), "/account/map-overview", "map-marked");
 	$icons[] = new AccountIcon(__("Map Overview"), "/account/map-overview", "map-marked");
+	$icons[] = new AccountIcon(__("Failed"), "/account/map-overview?filter=failed-only", "times-circle");
+	$icons[] = new AccountIcon(__("Untested"), "/account/map-overview?filter=untested-only", "question-circle");
 }
 }
 
 
 if($user->canAccessUsers()) {
 if($user->canAccessUsers()) {