Skip to content

Commit

Permalink
[TASK] Replace warning-in-use icon with @typo3/icons overlay
Browse files Browse the repository at this point in the history
The icon identified by `warning-in-use` is rendered when a record is
currently edited by another backend user. As one of the last remaining
bitmap icons, this should be replaced with an overlay from
`@typo3/icons` instead.

Resolves: #98128
Releases: main
Change-Id: Ifb9a37b835a97bccc7dfcc34a278d3c73e563817
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75424
Tested-by: core-ci <[email protected]>
Tested-by: Anja Leichsenring <[email protected]>
Tested-by: Christian Kuhn <[email protected]>
Tested-by: Stefan Bürk <[email protected]>
Reviewed-by: Anja Leichsenring <[email protected]>
Reviewed-by: Christian Kuhn <[email protected]>
Reviewed-by: Stefan Bürk <[email protected]>
  • Loading branch information
andreaskienast authored and sbuerk committed Aug 12, 2022
1 parent a58ce37 commit 3cdefeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/RecordList/DatabaseRecordList.php
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ public function renderListRow($table, array $row, int $indent, array $translatio
$warning = '<span tabindex="0" data-bs-toggle="tooltip" data-bs-placement="right"'
. ' title="' . htmlspecialchars($lockInfo['msg']) . '"'
. ' aria-label="' . htmlspecialchars($lockInfo['msg']) . '">'
. $this->iconFactory->getIcon('warning-in-use', Icon::SIZE_SMALL)->render()
. $this->iconFactory->getIcon('status-user-backend', Icon::SIZE_SMALL, 'overlay-edit')->render()
. '</span>';
}
if ($this->isRecordDeletePlaceholder($row)) {
Expand Down

0 comments on commit 3cdefeb

Please sign in to comment.