File: selectioninfo.phtml

package info (click to toggle)
icingaweb2 2.12.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,124 kB
  • sloc: php: 73,980; javascript: 5,009; sql: 333; xml: 75; sh: 72; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
$helpMessage = $this->translate(
    'Press and hold the Ctrl key while clicking on rows to select multiple rows or press and hold the Shift key to'
    .' select a range of rows',
    'Multi-selection help'
);
?>
<div class="selection-info" title="<?= $this->escape($helpMessage) ?>">
    <?= sprintf(
        /// TRANSLATORS: Please leave %s as it is because the selection counter is wrapped in a span tag for updating
        /// the counter via JavaScript
        $this->translate('%s row(s) selected', 'Multi-selection count'),
        '<span class="selection-info-count">0</span>'
    ) ?>
</div>