diff --git a/application/views/scripts/joystickPagination.phtml b/application/views/scripts/joystickPagination.phtml index 27cafa309..a89d2601d 100644 --- a/application/views/scripts/joystickPagination.phtml +++ b/application/views/scripts/joystickPagination.phtml @@ -6,7 +6,7 @@ if ($xAxisPaginator->count() <= 1 && $yAxisPaginator->count() <= 1) { return; // Display this pagination only if there are multiple pages } -$fromTo = t('%s: %d to %d of %d'); +$fromTo = t('%s: %d to %d of %d (on the %s-axis)'); $xAxisPages = $xAxisPaginator->getPages('all'); $yAxisPages = $yAxisPaginator->getPages('all'); @@ -35,7 +35,8 @@ $nextXAxisPage = $currentXAxisPage < $totalXAxisPages ? $currentXAxisPage + 1 : t('Hosts'), ($prevYAxisPage - 1) * $yAxisPages->itemCountPerPage + 1, $prevYAxisPage * $yAxisPages->itemCountPerPage, - $yAxisPages->totalItemCount + $yAxisPages->totalItemCount, + 'y' ); ?>">icon('up-open'); ?> icon('up-open'); ?> @@ -53,7 +54,8 @@ $nextXAxisPage = $currentXAxisPage < $totalXAxisPages ? $currentXAxisPage + 1 : t('Services'), ($prevXAxisPage - 1) * $xAxisPages->itemCountPerPage + 1, $prevXAxisPage * $xAxisPages->itemCountPerPage, - $xAxisPages->totalItemCount + $xAxisPages->totalItemCount, + 'x' ); ?>">icon('left-open'); ?> icon('left-open'); ?> @@ -69,7 +71,8 @@ $nextXAxisPage = $currentXAxisPage < $totalXAxisPages ? $currentXAxisPage + 1 : t('Services'), $currentXAxisPage * $xAxisPages->itemCountPerPage + 1, $nextXAxisPage === $xAxisPages->last ? $xAxisPages->totalItemCount : $nextXAxisPage * $xAxisPages->itemCountPerPage, - $xAxisPages->totalItemCount + $xAxisPages->totalItemCount, + 'x' ); ?>">icon('right-open'); ?> icon('right-open'); ?> @@ -87,7 +90,8 @@ $nextXAxisPage = $currentXAxisPage < $totalXAxisPages ? $currentXAxisPage + 1 : t('Hosts'), $currentYAxisPage * $yAxisPages->itemCountPerPage + 1, $nextYAxisPage === $yAxisPages->last ? $yAxisPages->totalItemCount : $nextYAxisPage * $yAxisPages->itemCountPerPage, - $yAxisPages->totalItemCount + $yAxisPages->totalItemCount, + 'y' ); ?>">icon('down-open'); ?> icon('down-open'); ?>