Skip to content
Snippets Groups Projects
Commit a805a62b authored by Wouter Wolters's avatar Wouter Wolters Committed by Christian Kuhn
Browse files

[TASK] Cleanup ExtensionManager slot in ext:documentation

Only render one empty-empty icon and use that multiple times.

Resolves: #70419
Releases: master
Change-Id: I1c7a01ccdfece03a11883d0ccf2a62086e2a6e46
Reviewed-on: http://review.typo3.org/43831


Reviewed-by: default avatarFrank Nägler <frank.naegler@typo3.org>
Tested-by: default avatarFrank Nägler <frank.naegler@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent d9ebc5c0
Branches
Tags
No related merge requests found
......@@ -75,9 +75,10 @@ class ExtensionManager {
}
} else {
$iconFactory = GeneralUtility::makeInstance(IconFactory::class);
$actions[] = '<span class="btn btn-default disabled">' . $iconFactory->getIcon('empty-empty', Icon::SIZE_SMALL)->render() . '</span>';
$actions[] = '<span class="btn btn-default disabled">' . $iconFactory->getIcon('empty-empty', Icon::SIZE_SMALL)->render() . '</span>';
$actions[] = '<span class="btn btn-default disabled">' . $iconFactory->getIcon('empty-empty', Icon::SIZE_SMALL)->render() . '</span>';
$emptyIcon = $iconFactory->getIcon('empty-empty', Icon::SIZE_SMALL)->render();
$actions[] = '<span class="btn btn-default disabled">' . $emptyIcon . '</span>';
$actions[] = '<span class="btn btn-default disabled">' . $emptyIcon . '</span>';
$actions[] = '<span class="btn btn-default disabled">' . $emptyIcon . '</span>';
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment