Updates and name fix
This commit is contained in:
parent
27c15dd330
commit
15b13949a8
|
@ -885,16 +885,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tracy/tracy",
|
"name": "tracy/tracy",
|
||||||
"version": "v2.8.0",
|
"version": "v2.8.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/nette/tracy.git",
|
"url": "https://github.com/nette/tracy.git",
|
||||||
"reference": "24af254df194635b4a80980ad885da7e8f0b90f0"
|
"reference": "37c238d08db44f2cd6f21f7d97e5cea11d631fae"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/nette/tracy/zipball/24af254df194635b4a80980ad885da7e8f0b90f0",
|
"url": "https://api.github.com/repos/nette/tracy/zipball/37c238d08db44f2cd6f21f7d97e5cea11d631fae",
|
||||||
"reference": "24af254df194635b4a80980ad885da7e8f0b90f0",
|
"reference": "37c238d08db44f2cd6f21f7d97e5cea11d631fae",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -953,9 +953,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/nette/tracy/issues",
|
"issues": "https://github.com/nette/tracy/issues",
|
||||||
"source": "https://github.com/nette/tracy/tree/v2.8.0"
|
"source": "https://github.com/nette/tracy/tree/v2.8.1"
|
||||||
},
|
},
|
||||||
"time": "2020-12-16T23:28:40+00:00"
|
"time": "2021-01-01T22:21:23+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/twig",
|
"name": "twig/twig",
|
||||||
|
|
|
@ -33,7 +33,7 @@ foreach($risultato as $row){
|
||||||
} else {
|
} else {
|
||||||
if($user->requireRole(Role::FULL_VIEWER)){
|
if($user->requireRole(Role::FULL_VIEWER)){
|
||||||
$name = $user->nameById($row["id"]);
|
$name = $user->nameById($row["id"]);
|
||||||
$name_encoded = urlencode($name);
|
$name_encoded = urlencode($user->name());
|
||||||
$functionName = $row["available"] ? "deactivate" : "activate";
|
$functionName = $row["available"] ? "deactivate" : "activate";
|
||||||
$helmet_colour = $row["chief"] ? "red" : "black";
|
$helmet_colour = $row["chief"] ? "red" : "black";
|
||||||
$firstCell = "<a id='username-{$row['id']}' style='text-align: left;' onclick='$functionName(".$row["id"].");'><img alt='{$helmet_colour} helmet' src='./resources/images/{$helmet_colour}_helmet.png' width='20px'>$name</a>";
|
$firstCell = "<a id='username-{$row['id']}' style='text-align: left;' onclick='$functionName(".$row["id"].");'><img alt='{$helmet_colour} helmet' src='./resources/images/{$helmet_colour}_helmet.png' width='20px'>$name</a>";
|
||||||
|
|
Loading…
Reference in New Issue