Skip to content

Commit

Permalink
[TASK] Add support for TYPO3 v11
Browse files Browse the repository at this point in the history
  • Loading branch information
o-ba committed May 1, 2021
1 parent 730a41a commit 495a6e0
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 127 deletions.
7 changes: 2 additions & 5 deletions Resources/Private/Partials/ExtendedButton.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<a href="{button.extendedLink}"
class="widget-cta"
{f:if(condition: button.target, then: 'target="{button.target}"')}
{f:if(condition: "{button.target} == '_blank'", then: 'rel="noreferrer"')}>
<f:link.typolink parameter="{button.extendedLink}" target="{button.target}" class="widget-cta">
<f:if condition="{button.icon}">
<core:icon identifier="{button.icon}" size="small" alternativeMarkupIdentifier="inline"/>&nbsp;
</f:if>
{f:translate(id: button.title, default: button.title, extensionName: 'customDashboardWidgets')}
</a>
</f:link.typolink>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
title="{f:translate(key: 'widgets.listOfRecords.edit.title', extensionName: 'customDashboardWidgets', arguments: {0: title, 1: record.uid})}"
returnUrl="{be:moduleLink(route: 'dashboard')}">
<core:iconForRecord table="{table}" row="{record}" />
<strong>{title}</strong>
<strong>{f:if(condition: title, then: title, else: '[{f:translate(key: \'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.no_title\')}]')}</strong>
</be:link.editRecord>
</td>
</tr>
Expand Down
254 changes: 138 additions & 116 deletions Resources/Public/Icons/Extension.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
],
"require": {
"php": ">=7.2.0",
"typo3/cms-core": "^10.4",
"typo3/cms-dashboard": "^10.4"
"typo3/cms-core": "^10.4 || ^11.0",
"typo3/cms-dashboard": "^10.4 || ^11.0"
},
"require-dev": {
"roave/security-advisories": "dev-master"
Expand Down
5 changes: 2 additions & 3 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@
'author_company' => '',
'state' => 'stable',
'clearCacheOnLoad' => true,
'version' => '1.1.1',
'version' => '1.2.0',
'autoload' => [
'psr-4' => [
'Bo\\CustomDashboardWidgets\\' => 'Classes'
]
],
'constraints' => [
'depends' => [
'typo3' => '10.4.0-10.4.99',
'php' => '7.2.0-7.4.99'
'typo3' => '10.4.0-11.5.99',
],
'conflicts' => [],
'suggests' => []
Expand Down

0 comments on commit 495a6e0

Please sign in to comment.