Fix Spieleranzeige
This commit is contained in:
parent
0cd764cc0e
commit
21c5278270
3 changed files with 22 additions and 17 deletions
|
|
@ -159,18 +159,22 @@ class UsersController extends Controller
|
|||
} else {
|
||||
|
||||
if (array_key_exists($user->id, $missingTipps["MISSING_TIPP"])) {
|
||||
Log::info("..adding missing tipp");
|
||||
$users[$index]->missingTippText = "Tipps fehlen";
|
||||
$users[$index]->tippStyling = "red";
|
||||
} else {
|
||||
Log::info("..adding existing tipp");
|
||||
$users[$index]->missingTippText = "Runde getippt";
|
||||
$users[$index]->tippStyling = "green";
|
||||
}
|
||||
|
||||
|
||||
Log::info("UsersController.index: Joker Display Check for UserId=".$user->id);
|
||||
if (array_key_exists($user->id, $missingTipps["MISSING_JOKER"])) {
|
||||
Log::info("UsersController.index: MISSING JOKER DETECTED -> ".$user->id);
|
||||
$users[$index]->missingJokerText = "Joker fehlt";
|
||||
$users[$index]->jokerStyling = "red";
|
||||
} else {
|
||||
Log::info("UsersController.index: JOKER EXISTS -> ".$user->id);
|
||||
$users[$index]->missingJokerText = "Joker gesetzt";
|
||||
$users[$index]->jokerStyling = "green";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue