Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
monitoring/CSS: Don't use text-small mixin for the selection info
refs #5543
- Loading branch information
Showing
3 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
15 changes: 12 additions & 3 deletions
15
modules/monitoring/application/views/scripts/list/components/selectioninfo.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,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.', 'multiselection'); | ||
$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 text-small" title="<?= $this->escape($helpMessage) ?>"> | ||
<span class="selection-info-count">0</span> <?= $this->translate('row(s) selected', 'multiselection') ?> | ||
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters