Skip to content

Commit 76c6bca

Browse files
committed
[BUGFIX] Ensure spinner icon is available
1 parent f294665 commit 76c6bca

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2019-01-23 Francois Suter <[email protected]>
2+
3+
* Catch uncompress errors when displaying extra data (thanks to E. Lang)
4+
* Ensure spinner icon is available
5+
16
2018-02-22 Francois Suter <[email protected]>
27

38
* Updated documentation configuration file

Resources/Private/Templates/ListModule/Index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h1><f:translate id="title" /></h1>
113113
</div>
114114
<!-- Loading mask -->
115115
<div id="tx_devlog_list_loader">
116-
<core:icon identifier="provider-fontawesome-spinner" size="default" />
116+
<core:icon identifier="tx_devlog-loader" size="default" />
117117
</div>
118118
<!-- No entries message -->
119119
<div id="tx_devlog_list_empty" class="hidden">

ext_tables.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,15 @@
4141
'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:test_plugin',
4242
'EXT:' . $_EXTKEY . '/Resources/Public/Images/ModuleIcon.svg'
4343
);
44+
45+
// Register sprite icons for loading spinner
46+
/** @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
47+
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
48+
$iconRegistry->registerIcon(
49+
'tx_devlog-loader',
50+
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
51+
[
52+
'name' => 'spinner',
53+
'spinning' => true
54+
]
55+
);

0 commit comments

Comments
 (0)