FIX Bad meteo icon
This commit is contained in:
parent
97dc4c346b
commit
a79e8d33f1
@ -432,14 +432,17 @@ foreach($dashboardlines as $tmp)
|
|||||||
}
|
}
|
||||||
$rowspan = count($valid_dashboardlines);
|
$rowspan = count($valid_dashboardlines);
|
||||||
|
|
||||||
|
// We calculate $totallate. Must be defined before start of next loop because it is show in first fetch on next loop
|
||||||
foreach($valid_dashboardlines as $board)
|
foreach($valid_dashboardlines as $board)
|
||||||
{
|
{
|
||||||
if ($board->nbtodolate > 0) {
|
if ($board->nbtodolate > 0) {
|
||||||
$totallate += $board->nbtodolate;
|
$totallate += $board->nbtodolate;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Show dashboard
|
// Show dashboard
|
||||||
|
foreach($valid_dashboardlines as $board)
|
||||||
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td width="16">'.$board->img.'</td><td>'.$board->label.'</td>';
|
print '<tr '.$bc[$var].'><td width="16">'.$board->img.'</td><td>'.$board->label.'</td>';
|
||||||
print '<td align="right"><a href="'.$board->url.'">'.$board->nbtodo.'</a></td>';
|
print '<td align="right"><a href="'.$board->url.'">'.$board->nbtodo.'</a></td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user