Skip to content

Commit

Permalink
[TASK] Add extension icon
Browse files Browse the repository at this point in the history
  • Loading branch information
torben-fr committed Jul 22, 2024
1 parent 9fb2489 commit 8e70291
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Services/BiteJobsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function fetchBiteJobs(): array

$this->responseBody = json_decode($response->getBody()->getContents(), true);
} catch (\Exception $e) {
$this->logger?->error(sprintf(
$this->logger->error(sprintf(
'Error while fetching jobs from Bite API: %s',
$e->getMessage()
));
Expand Down
3 changes: 2 additions & 1 deletion Configuration/TCA/Overrides/tt_content_plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'AcademicBiteJobs',
'List',
'Academic Bite Jobs: List'
'Academic Bite Jobs: List',
'EXT:academic_bite_jobs/Resources/Public/Icons/jobs_bite_icon.svg'
);

$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['academicbitejobs_list'] = 'recursive,select_key';
Expand Down
92 changes: 92 additions & 0 deletions Resources/Public/Icons/jobs_bite_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8e70291

Please sign in to comment.