mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Fix the tooltip's max page count in the joystick navigation
This commit is contained in:
parent
94f8597271
commit
f49d9e8591
@ -68,7 +68,7 @@ $nextXAxisPage = $currentXAxisPage < $totalXAxisPages ? $currentXAxisPage + 1 :
|
|||||||
$fromTo,
|
$fromTo,
|
||||||
t('Services'),
|
t('Services'),
|
||||||
$currentXAxisPage * $xAxisPages->itemCountPerPage + 1,
|
$currentXAxisPage * $xAxisPages->itemCountPerPage + 1,
|
||||||
$nextXAxisPage * $xAxisPages->itemCountPerPage,
|
$nextXAxisPage === $xAxisPages->last ? $xAxisPages->totalItemCount : $nextXAxisPage * $xAxisPages->itemCountPerPage,
|
||||||
$xAxisPages->totalItemCount
|
$xAxisPages->totalItemCount
|
||||||
); ?>"><?= $this->icon('next_petrol.png'); ?></a>
|
); ?>"><?= $this->icon('next_petrol.png'); ?></a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
@ -86,7 +86,7 @@ $nextXAxisPage = $currentXAxisPage < $totalXAxisPages ? $currentXAxisPage + 1 :
|
|||||||
$fromTo,
|
$fromTo,
|
||||||
t('Hosts'),
|
t('Hosts'),
|
||||||
$currentYAxisPage * $yAxisPages->itemCountPerPage + 1,
|
$currentYAxisPage * $yAxisPages->itemCountPerPage + 1,
|
||||||
$nextYAxisPage * $yAxisPages->itemCountPerPage,
|
$nextYAxisPage === $yAxisPages->last ? $yAxisPages->totalItemCount : $nextYAxisPage * $yAxisPages->itemCountPerPage,
|
||||||
$yAxisPages->totalItemCount
|
$yAxisPages->totalItemCount
|
||||||
); ?>"><?= $this->icon('down_petrol.png'); ?></a>
|
); ?>"><?= $this->icon('down_petrol.png'); ?></a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user